pagination in Listview of android using Base adapter? -


I use the base adapters to fill the list view with a date from SEL Light. My actual need list shows only 10 rows in the list view, when I click next, need to bring a set of 10 data from the local database and see to see the current list.

thanks

thanks

The easiest way is to send a subset of the entire data to the adapter (10 elements in your case). When the next button is pressed, you can send the adapter of the next 10 elements and then call NotifyDataSetChanged to update the list view.

Comments