Paging3-Android-Tutorial icon indicating copy to clipboard operation
Paging3-Android-Tutorial copied to clipboard

Add, update and remove item to PagingDataAdapter, PagedListAdapter or to another Adapter

Open nazirjonmakhmadkulov opened this issue 4 years ago • 5 comments

How to add, update and remove item to PagingDataAdapter or how is it possible to implement this when working with pagination?

nazirjonmakhmadkulov avatar Dec 23 '21 14:12 nazirjonmakhmadkulov

@nazirjonmakhmadkulov any update? I'm stuck with this problem

est7 avatar Jan 15 '23 10:01 est7

@nazirjonmakhmadkulov any update? I'm stuck with this problem I found the solution in this repository https://github.com/romychab/android-tutorials/tree/main/paging-library-2

nazirjonmakhmadkulov avatar Jan 15 '23 18:01 nazirjonmakhmadkulov

Thanks, I have seen a similar approach in the google guide :https://developer.android.google.cn/topic/architecture/ui-layer/state-production#one-shot-and

est7 avatar Jan 16 '23 02:01 est7

combine just like MediatorLiveData ,for me It's a new knowledge haha

est7 avatar Jan 16 '23 02:01 est7

@nazirjonmakhmadkulov In that project I saw an api is sampleScan, I'm curious what it is for, I can't understand, can you give me some tips,Thank you very much in advance for your help guys, and sorry for my noobiness.

est7 avatar Jan 16 '23 03:01 est7