feat(filter): revamping search for anime and manga (#272)
* feat: revamping search filter part1 * fix: sortBy dropdown now also calls search instead of only updating image * feat: added longclick listener to reset and apply + cleaned up code * feat: status filter fully functional * chore: upgrade AGP to 8.3.1 * fix: splitted status list and cleaned up * fix(search): underscore * feat: attempt to add backend for countryOfOrigin filter * fix: countryOfOrigin query and gradle * feat: source filter fully functional * fix(source): underscore * feat: swap source with status * fix: add searchSource to reset fun * fix: clear underline after reopening bottom sheet * chore: remove unnecessary declaration * feat: add global to countryOfOrigin dropdown * feat: floating cancel and apply button * fix: added searchStatus and searchYear back to manga filter * feat: desperate attempt for manga year filter * feat(sortBy): added new releases item * fix: year filter --------- Co-authored-by: aayush262 <aayushthakur262006@gmail.com>
This commit is contained in:
parent
aabbe9198a
commit
146805af49
28 changed files with 971 additions and 333 deletions
18
app/src/main/res/menu/country_filter_menu.xml
Normal file
18
app/src/main/res/menu/country_filter_menu.xml
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/country_global"
|
||||
android:title="Global" />
|
||||
<item
|
||||
android:id="@+id/country_china"
|
||||
android:title="China" />
|
||||
<item
|
||||
android:id="@+id/country_south_korea"
|
||||
android:title="South Korea" />
|
||||
<item
|
||||
android:id="@+id/country_japan"
|
||||
android:title="Japan" />
|
||||
<item
|
||||
android:id="@+id/country_taiwan"
|
||||
android:title="Taiwan" />
|
||||
</menu>
|
24
app/src/main/res/menu/sortby_filter_menu.xml
Normal file
24
app/src/main/res/menu/sortby_filter_menu.xml
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/sort_by_score"
|
||||
android:title="Score" />
|
||||
<item
|
||||
android:id="@+id/sort_by_popular"
|
||||
android:title="Popular" />
|
||||
<item
|
||||
android:id="@+id/sort_by_trending"
|
||||
android:title="Trending" />
|
||||
<item
|
||||
android:id="@+id/sort_by_recent"
|
||||
android:title="New Releases" />
|
||||
<item
|
||||
android:id="@+id/sort_by_a_z"
|
||||
android:title="A-Z" />
|
||||
<item
|
||||
android:id="@+id/sort_by_z_a"
|
||||
android:title="Z-A" />
|
||||
<item
|
||||
android:id="@+id/sort_by_pure_pain"
|
||||
android:title="Pure pain" />
|
||||
</menu>
|
Loading…
Add table
Add a link
Reference in a new issue