For android, is it possible to load data in small proprtions as the user scrolls (Ex: Facebook)

Hi,

I’m creating app which loads announcements for users (Ex: like facebook loads status for updates of users).
So there will be scenario where announcements would be huge in number and I want to load latest announcement (20) first and load the remaining the as user scrolls more.

Any sample solution for this?

Yes, it is possible - you would need to use paging API to get the data from the server. Do you use the 3.x or the 4.0 version of Backendless?

There is an example of data paging in the documentation:

https://backendless.com/docs/android/doc.html#data_file_paging

It’s 4.0x version.
Please can you give me the sample API reference or code sample