all: refactor list management

Refactor list management (largely callbacks) into a declarative system.

This should make it easier to re-use selection components across the
app.
This commit is contained in:
Alexander Capehart
2022-12-18 10:58:45 -07:00
parent 8aeb6d092e
commit 32d01f2027
87 changed files with 989 additions and 911 deletions
@@ -12,7 +12,7 @@
android:name="androidx.navigation.fragment.NavHostFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="org.oxycblt.auxio.ui.BottomSheetContentBehavior"
app:layout_behavior="org.oxycblt.auxio.shared.BottomSheetContentBehavior"
app:navGraph="@navigation/nav_explore"
tools:layout="@layout/fragment_home" />
@@ -20,7 +20,7 @@
android:id="@+id/playback_sheet"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="org.oxycblt.auxio.playback.PlaybackSheetBehavior">
app:layout_behavior="org.oxycblt.auxio.playback.PlaybackBottomSheetBehavior">
<androidx.fragment.app.FragmentContainerView
android:id="@+id/playback_bar_fragment"