The current behaviour relies on the default animations supplied by the Navigation Architecture Component: Simple Fade-in and Fade-out While it works, it could be improved.
The NetworkBoundResource class emits Resource.Loading first, immediately followed by the results of the database query (if it is fast). This causes a flash on the screen due to Epoxy quickly updating the screen. Consider emiting Resource.Loading initially only if there is no cached data.
Problem
NetworkBoundResource
class emitsResource.Loading
first, immediately followed by the results of the database query (if it is fast). This causes a flash on the screen due to Epoxy quickly updating the screen. Consider emitingResource.Loading
initially only if there is no cached data.