Android Question ListView Load Previous...

DonManfred

Expert
Licensed User
Longtime User
if you fill your listview from a database then remember the first and last entry you used in a global variable.

Load next (at the end):
Use the remembered value for last entry and load - based on this id - the next x databaseentries.

Load previous(at begin):
Use the remembered value for first entry and load - based on this id - the previous x databaseentries.

The functionality you need to build yourself. Listview dos not know it
 
Upvote 0
Top