1

Listview page indicator

view story
linux-howto

http://stackoverflow.com – I have a listview that I implemented with infinite scrolling ability and I wanted to add a page indicator, for example page 1/10 or page 4/10. I receive the max number of pages from a webservice that gets called when the user scrolls to the bottom of the list. When the user scrolls to the last item in the list more data gets fetched and the current page would be incremented as currentpage++, my question is that I would like when the user is scrolling back up to the top of the list instead of having thenth page being displayed still, it would change to page 1. Each page contains 20 results, the (HowTos)