From 07ab321f1e38a5c86184523aba2572f9ff8126aa Mon Sep 17 00:00:00 2001 From: Vi Anh Date: Sun, 12 Dec 2021 23:32:29 +0700 Subject: [PATCH] Fix filter, remove filter button in other screens --- .idea/misc.xml | 1 + .../blogtruyen/features/list/HomeFragment.kt | 8 +++-- .../blogtruyen/features/list/HomeViewModel.kt | 11 +++++-- .../features/list/MangaListFragment.kt | 25 +++++++++++++++ .../features/list/filter/FilterAdapter.kt | 9 ++---- .../list/filter/FilterDialogFragment.kt | 31 ++++++++++++++++--- .../reader/type/vertical/PageItemVH.kt | 2 +- .../vianh/blogtruyen/utils/ViewExtensions.kt | 8 ++++- .../blogtruyen/views/ViewHeightAnimator.kt | 12 +++---- .../res/layout/filter_dialog_fragment.xml | 12 +++---- app/src/main/res/layout/home_fragment.xml | 4 +-- app/src/main/res/layout/manga_page_item.xml | 1 + app/src/main/res/values/styles.xml | 11 +++---- 13 files changed, 95 insertions(+), 40 deletions(-) create mode 100644 app/src/main/java/com/vianh/blogtruyen/features/list/MangaListFragment.kt diff --git a/.idea/misc.xml b/.idea/misc.xml index 2e335a3..4a0b1d4 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -4,6 +4,7 @@