From 6d5df6250d4c060840b64d7441525f85146fb87b Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Tue, 2 Mar 2021 11:15:56 +0100 Subject: Building the basic files to display the searched mangas. --- app/src/main/res/navigation/nav_graph.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'app/src/main/res/navigation') diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml index 4ceeab2..2ee1921 100644 --- a/app/src/main/res/navigation/nav_graph.xml +++ b/app/src/main/res/navigation/nav_graph.xml @@ -17,6 +17,9 @@ + @@ -40,5 +43,15 @@ android:id="@+id/action_TopAnimePage_to_HomePage" app:destination="@id/HomePage" /> + + + + \ No newline at end of file -- cgit v1.2.3 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 (limited to 'app/src/main/res/navigation') 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