music: change loading ux

Move the main loading response code to MainFragment and add a new
method for other objects to be notified of the progress of the
music loading process. There's probably a better way to do this,
but kotlin coroutines are so complex that I don't know where I
would start. This also adds some enhancements, such as the error
message now showing in more parts of the app and SearchFragment
now re-running the query if the MusicStore instance is loaded.
This commit is contained in:
OxygenCobalt
2021-10-27 18:23:15 -06:00
parent 255154c411
commit 51ba72d861
11 changed files with 243 additions and 153 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:initialLayout="@layout/widget_small"
android:minWidth="180dp"
android:minWidth="176dp"
android:minHeight="180dp"
android:minResizeWidth="180dp"
android:minResizeWidth="176dp"
android:minResizeHeight="152dp"
android:previewImage="@drawable/ui_widget_preview"
android:resizeMode="horizontal|vertical"