Android RecyclerView with Paging Library | Data Binding | Live Data | Retrofit
Автор: Dev Planet
Загружено: 2019-12-04
Просмотров: 3864
Описание:
The Paging Library helps you load and display small chunks of data at a time. Loading partial data on-demand reduces the usage of network bandwidth and system resources.
Advantages of Paging Library
1. The user gets content faster.
2. The app only needs to download one or two pages to show.
3. The user gets content faster.
4. Uses far less memory.
5. Uses less data as it doesn’t need the full dataset.
6. Even during data updates and refreshes, the app responds quickly.
7. You can observe and update data more easily.
8. You can use placeholders to indicate if new content is being downloaded.
JSON model used for this tutorial can be found here: https://reqres.in/api/
Check out the official documentation for more information: https://developer.android.com/topic/l...
References for the tutorial :
https://androidwave.com/android-pagin...
https://www.raywenderlich.com/6948-pa...
https://developer.android.com/topic/l...
Complete source code can be found in below link:
https://github.com/devplanet-dp/andro...
Thank you!
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: