How add additional list to adapters
I have a ListView with separate headers.like.."Today events" is header and below of that it has list."Tomorrow events" is header and below of that it has some list.These two adapters in a single Listview.My problem is,in Each adapter have more tha开发者_开发知识库n 20 items but it should display 20 items and when list scroll to 20 th item the remaining list should be displayed. How can i solve this.
Thanks in adv.
You should take a look at CommonsWare's EndlessAdapter
, or at this Endless Scrolling ListView in Android.
Also, there have been several similar questions already on stackoverflow, so you could do a search prior to asking the question:
- Android Endless List
- Endless List like Android Market
精彩评论