8e95ed75ab
The `emptyViewHandler` already handles hiding and showing both the empty view and the recycler view on data changes, so this commit removes this part of the logic from the episodes fragment. It also hides the empty view right after creating the recycle adapter for the first time (when the fragment is created) to prevent the progress bar and the empty view from being displayed at the same time. `createRecycleAdapter()` signature was changed to make it explicit that it depends on both the `recyclerView` and `emptyViewHandler`. Similarly, `onFragmentLoaded()`, since it also depends on the new data that gets loaded. |
||
---|---|---|
.. | ||
androidTest | ||
debug/res/values | ||
free | ||
main | ||
play |