Update list items in PagingLibrary w/o using Room (Network only)

前端 未结 2 1761
闹比i
闹比i 2020-12-14 12:27

I\'m using Paging Library to load data from network using ItemKeyedDataSource. After fetching items user can edit them, this updates are done i

2条回答
  •  伪装坚强ぢ
    2020-12-14 12:55

    You can modify directly in your adapter if you called currentList like that

    class ItemsAdapter(): PagedListAdapter

提交回复
热议问题