Room And Paging 3 | Beginner Simple Example
This video aim for beginner who search for simple example while they learn Android programming. The history to make this video is when my self difficult to find simple example to understand the concept what I want to learn. Usually I find complicate example, maybe because author the other example want to make their example interesting.
In this example I show how to use Paging 3 with Room, this is basic requirement to use Paging 3. I hope this video can help you with your journey in Android development. :)
If you have some problems or difficulties or have some other questions then you can ask me in the comment bellow. I will try answer your questions. :)
Support me on https://ko-fi.com/iryudith
Contents :
0:00 Intro
0:12 Add gradle dependency
0:31 Change LiveData to PagingSource
0:56 Use Pager and Flow
1:34 Create adapter inherit PagingDataAdapter and add DIFF_CALLBACK
3:44 Update recyclerview in main activity and use lifecycleScope
5:46 Outro
Example ZIP Code :
https://drive.google.com/file/d/1TfKr...
Android Fragment Documentation :
https://developer.android.com/topic/l...
Please consider supporting me on Patreon :
/ ryudith
#RYUDITHTUTORIAL