
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.
11 lines
No EOL
475 B
XML
11 lines
No EOL
475 B
XML
<?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="176dp"
|
|
android:minHeight="180dp"
|
|
android:minResizeWidth="176dp"
|
|
android:minResizeHeight="152dp"
|
|
android:previewImage="@drawable/ui_widget_preview"
|
|
android:resizeMode="horizontal|vertical"
|
|
android:updatePeriodMillis="0"
|
|
android:widgetCategory="home_screen" /> |