I was just wondering how does data loads for Twitter and Facebook apps..
Like when you reach end of page you’re still interacting with UI and it shows the further data is loading.. How is this programatically done.
To be more clear, when you scroll down your news feed when you reach a point it shows a circle depicting further data is loading and then when further new feed is available you can scroll through that as well.. I hope I’m clear enough.. I just want to know how is such scenario implemented.. Is there any example?
Here are few links which might get you through it.
http://github.com/commonsguy/cwac-endless
Android Endless List
http://www.androidguys.com/2009/10/21/tutorial-autogrowing-listview/
A sample logic from the link two,