Android ListView - detect when footer is visible [duplicate]
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.
精彩评论