Store references to items in DetailViewModel

Store references to the artist & album inside DetailViewModel to prevent an artist/album search on every re-creation.
This commit is contained in:
OxygenCobalt
2020-09-23 15:42:06 -06:00
parent f5d007267d
commit b80a3596b8
12 changed files with 115 additions and 68 deletions
-3
View File
@@ -58,9 +58,6 @@
<argument
android:name="albumId"
app:argType="long" />
<argument
android:name="isFromLibrary"
app:argType="boolean" />
<action
android:id="@+id/action_show_parent_artist"
app:enterAnim="@anim/fragment_fade_enter"