B
B
Bartar2016-08-13 11:02:31
Java
Bartar, 2016-08-13 11:02:31

How is the process of storing and receiving data in applications like VKontakte?

For example, I have a RecycleView c CardView / list, I want to display the data in them received from the server. How it's done ? For example, do you need a database in the client or only on the server, in general, how does an application like VKontakte work? Please forgive me if the question is stupid and full of nonsense, I'm recently learning programming?

Answer the question

In order to leave comments, you need to log in

1 answer(s)

On the client, it is better to create a sqlite database and cache everything that is loaded from the server into it, but if the application needs to display 1-2 pages (activities) and not long lists, then you can do without it, just load them into the collection / list and use two-way binding to bind this collection/list to your views

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question