开发者

How add additional list to adapters

开发者 https://www.devze.com 2023-02-28 19:00 出处:网络
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 L

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
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号