Uday
Uday

Reputation: 6023

Swipe Indication for user Android

Suppose I have a ListView displaying exactly 10 rows that is not intended to scroll.

When the user swipes, the next list of 10 rows would be displayed. The bottom of the ListView would say something like "page 2 of 3".

How can I indicate to users that they should swipe to get the next page?

Upvotes: 1

Views: 427

Answers (2)

pjco
pjco

Reputation: 3836

I think you are best off rolling your own solution using a ScrollView and/or a ViewPager

According to a GoogleIO presentation about ListViews, they are coded with many "behind-the-scenes" tricks in order to optimize performance.

When you start trying to modify how they work, then you end up with a complex widget that doesn't make use of its own complexity and optimizations.

Some type of vertical view pager could be good for what you see though.

Reference: http://www.youtube.com/watch?v=wDBM6wVEO70

Upvotes: 0

EGHDK
EGHDK

Reputation: 18130

A page indicator might be helpful like you said. I view-pager may be another option. In that case I would use: http://viewpagerindicator.com/

Upvotes: 1

Related Questions