RickAndMorty-AndroidArchitectureSample icon indicating copy to clipboard operation
RickAndMorty-AndroidArchitectureSample copied to clipboard

Show progress until data not arriving whether its server or database

Open razi3742 opened this issue 4 years ago • 0 comments

I have a requirement where if there is no data in local database I need to query the network and show a progress bar. If the network returns empty data then I need to show a empty view. One of the problem is that I need to ignore the empty data from the room and only consider empty data from the server so that when the user doesn't have any data in room he just sees a loading view and after the server returns empty data he will see empty view.

razi3742 avatar Jun 22 '21 14:06 razi3742