• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

how to display only 5 rows in the list view

mindus

Lurker
Sep 7, 2010
9
0
Hi
I am using list view to display data in the screen, i am getting data from web service and i displaying the data in the listview. Its working fine.

Now the problem is i want to implement paging in the list view. For that i need to display only 5 records in the list view and once click the next/prev button it has to display another set of 5 records

I want to know how can display only five rows in the list view. and how can display next set of records while we click one next or prev button

any idea????

Thanks
mindushttp://androidcommunity.com/forums/editpost.php?do=editpost&p=346057
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones