Monday 8 March 2021

Android Paging 3 how do we sync data in background?

As per This Android Sample using Paging-3 with RemoteMediator load function only triggers when then is no more data available, but in Realtime use-cases most of the time list might be updated. So how can we sync that data in background as well as show instant data which is available in DB and later show synced data. As per this sample it will never sync new data until refresh event occurs.



from Android Paging 3 how do we sync data in background?

No comments:

Post a Comment