开发者

android customize list view prepends results

I am using list view using "ArrayAdapter" to display n开发者_如何学JAVAumber of items while user is looking at results when user click on load button i want results to load and prepends(add in the beginning)


Found solution

use adapter's insert method and add it to position 0 every time and also before adding reverse order so that first item will display at the beginning if don't reverse first item will display at end.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜