开发者

Android ListView - detect when footer is visible [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

Android Endless List

I have a list. When it scrolls to the bottom of the list开发者_运维问答, it should automatically load more rows. For example, I have a list of 10 rows, we scroll to the bottom and it loads 10 more rows giving a total of 20. I have a footer row at the bottom. How can I detect when the footerrow is visible to the user?


Implement OnScrollListener and check to see if the footer is visible and load items accordingly.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜