Wednesday, 25 June 2014

Pagination with List view using Base Adapter in android

In Android we have an List View where u can populate data,
some times you may have an requirement where u should show the data with particular no,of records per page(as u see i many of web applications),then u should manually write the code with no,of pages and no,of records per page.
      
   Final result looks like this:
                                                                                                              
image 3
image 1
image 2














  You can Download the code here                                                                                                                   DOWNLOAD NOW



Here in my code i have use Base Adapter where u can populate data in u r desired format, and data i am populating is just an list of objects where u can send as an argument to Base Adapter .

If  required u can get it from database or an list of json objects according  to your  the requirement.




No comments:

Post a Comment