Autogrow ListView in Android

蹲街弑〆低调 提交于 2019-11-30 10:31:53

You can try my EndlessAdapter. It wraps a ListAdapter that you supply and lets you load additional data when the user reaches the bottom. You could try also removing items from the top (e.g., remove() on ArrayAdapter), though I'm a bit nervous about that -- Android might not make the right decisions if, say, your list does not change size but the lineup of rows changes.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!