Video group and folders: invalid loading state
Description
When there is no video and the user add folders to the medialibrary, these fragments do not show the loading state.
In VideoGridFragment
, updateEmptyView
is called by IEventsHandler.onUpdateFinished
allowing to refresh the state at any change of the RecyclerView
internal list. However, in these fragments, it's called by the provider Observer
that is not triggered when a scan is launched.
Expected behavior
Actual behavior
Steps to reproduce
- Disable all scanned folders
- Open the video screen and group by folders or name
- Click on the "Go to medialibrary preferences" button and add some folders to the scanned ones
- Go back to the MainActivity -> no indicator that a scan is in progress (Loading view flipper and bottom progressbar)
Screenshot / video
A scan is currently ongoing
Context
App version
Android version
Device model
App mode
Smartphone
TV
Auto