I have a dynamic arraylist where the values are coming from the database. Let's say 85 records are selected from the database and inserted in to the database. Now I need to display those records in a pagination format with limit of 10 rows per page. How can I fetch the first 10 rows from the list and on click of the next button I need to fetch the next consecutive 10 rows.
please give me some idea that how can I do that. Explaining with any simple examples are really appreciable.