From d5dd918f2c8c0f29c70379fce6e40b79141c798a Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Tue, 2 Mar 2021 14:36:38 +0100 Subject: Added searching for animes. Auto keyboard hiding method when submitting. --- app/src/main/java/xyz/adjutor/aniki/HomePage.kt | 3 + .../aniki/anime/search/SearchAnimeAdapter.kt | 80 ++++++++++++++ .../adjutor/aniki/anime/search/SearchAnimePage.kt | 119 +++++++++++++++++++++ .../adjutor/aniki/manga/search/SearchMangaPage.kt | 20 +++- app/src/main/res/layout/home_page.xml | 10 ++ app/src/main/res/layout/search_anime_page.xml | 53 +++++++++ app/src/main/res/navigation/nav_graph.xml | 13 +++ app/src/main/res/values/strings.xml | 2 + 8 files changed, 297 insertions(+), 3 deletions(-) create mode 100644 app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnimeAdapter.kt create mode 100644 app/src/main/java/xyz/adjutor/aniki/anime/search/SearchAnimePage.kt create mode 100644 app/src/main/res/layout/search_anime_page.xml diff --git a/app/src/main/java/xyz/adjutor/aniki/HomePage.kt b/app/src/main/java/xyz/adjutor/aniki/HomePage.kt index 0b90b49..46dac33 100644 --- a/app/src/main/java/xyz/adjutor/aniki/HomePage.kt +++ b/app/src/main/java/xyz/adjutor/aniki/HomePage.kt @@ -30,5 +30,8 @@ class HomePage : Fragment() { view.findViewById