Fix bug with app restart

Fix bug where the app would be unaware if MusicViewModel was cleared due to it being suspended in the background.
This commit is contained in:
OxygenCobalt
2020-10-05 09:26:22 -06:00
parent 7928347f9b
commit 21ff93d5f0
6 changed files with 30 additions and 12 deletions
+5
View File
@@ -46,6 +46,11 @@
app:popEnterAnim="@anim/fragment_fade_enter"
app:popExitAnim="@anim/fragment_fade_exit"
app:destination="@id/genreDetailFragment" />
<action
android:id="@+id/action_return_to_loading"
app:destination="@id/loading_fragment"
app:popUpTo="@id/main_fragment"
app:popUpToInclusive="true" />
</fragment>
<fragment
android:id="@+id/artist_detail_fragment"