Overview:- If you are loading data from a web server and the list is huge, then the practical solution would be to load a certain amount and if the user scrolls to the end of the list, load some more and keep going until you load the full list.
I have handled the following events:
Add a view that will visible on the footer of a list when app loading data from the server.
Notify to your view when load more event occurs.
Notify to your view when scroll end.
Adding a FooterView to the ListView (loading_more_.xml)
I have handled the following events:
Add a view that will visible on the footer of a list when app loading data from the server.
Notify to your view when load more event occurs.
Notify to your view when scroll end.
Adding a FooterView to the ListView (loading_more_.xml)
A footer View is nothing more than a piece of XML that defines how the footer of your listview will look like. Mine is as follows:
At the end ,just implement ListViewListener in Activity or Fragment and set listener listView.setLoadMoreListener(this); , you get lord more and scroll end event of list.











