home: re-add sorting

Re-add sorting to HomeFragment, except heavily improved. The major
improvement here is the addition of song sorting, which was a heavily
requested feature judging by #16. The setting does not save yet and
is not present in the detail fragments, but it is still a major
milestone for the new home ui.
This commit is contained in:
OxygenCobalt
2021-09-05 16:11:37 -06:00
parent 0fc8f1cd02
commit dae334b1d6
39 changed files with 371 additions and 143 deletions
@@ -63,7 +63,7 @@
<ImageButton
android:id="@+id/playback_play_pause"
style="@style/Widget.Button.Unbounded"
android:src="@drawable/ic_playing_state"
android:src="@drawable/sel_playing_state"
android:layout_margin="@dimen/spacing_small"
android:contentDescription="@string/desc_play_pause"
android:onClick="@{() -> playbackModel.invertPlayingStatus()}"
+1 -1
View File
@@ -46,7 +46,7 @@
android:id="@+id/widget_play_pause"
style="@style/Widget.Component.AppWidget.Button"
android:contentDescription="@string/desc_play_pause"
android:src="@drawable/ic_playing_state" />
android:src="@drawable/sel_playing_state" />
<ImageButton
android:id="@+id/widget_skip_next"