recycler: refactor displaymode usage

Remove the SHOW_ALL variant from DisplayMode, replacing it with null
in SearchFragment where it was initially used. This allows all the
home pager fragments to be combined into a single HomeListFragment
that simply chooses a DisplayMode.
This commit is contained in:
OxygenCobalt
2021-08-22 16:09:51 -06:00
parent 27764046f7
commit 776776690d
14 changed files with 168 additions and 384 deletions
-1
View File
@@ -25,7 +25,6 @@
<!-- Appearance -->
<item name="android:windowBackground">?attr/colorSurface</item>
<item name="android:colorBackground">?attr/colorSurface</item>
<item name="android:textColorSecondary">@color/secondary_text</item>
<item name="android:fontFamily">@font/inter</item>
<item name="android:textCursorDrawable">@drawable/ui_cursor</item>
-9
View File
@@ -34,15 +34,6 @@
app:layout="@layout/item_header"
app:title="@string/set_display">
<org.oxycblt.auxio.settings.ui.IntListPreference
app:defaultValue="@integer/display_artist"
app:entries="@array/entries_lib_display"
app:entryValues="@array/values_lib_display"
app:icon="@drawable/ic_artist"
app:key="KEY_LIB_MODE"
app:title="@string/set_lib_display"
app:useSimpleSummaryProvider="true" />
<SwitchPreferenceCompat
app:defaultValue="true"
app:iconSpaceReserved="false"