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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user