Mashiane Expert Licensed User Longtime User Jul 4, 2016 #1 Hi How can I successfully implement a Load previous... functionality on a ListView? How does this functionality work and whats the best way to implement it? Thanks
Hi How can I successfully implement a Load previous... functionality on a ListView? How does this functionality work and whats the best way to implement it? Thanks
DonManfred Expert Licensed User Longtime User Jul 4, 2016 #2 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
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