From fa849021bf137fc4b245a8c0e7a2a8fc46d574df Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Fri, 19 Feb 2021 14:00:42 +0100 Subject: Cleaning. Removing some useless files. Adding comments. Updating the home page. --- app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt | 31 ---------- app/src/main/java/xyz/adjutor/aniki/HomePage.kt | 11 ---- .../main/java/xyz/adjutor/aniki/MainActivity.kt | 6 -- .../main/java/xyz/adjutor/aniki/MangaAdapter.kt | 69 ---------------------- app/src/main/java/xyz/adjutor/aniki/NewsPage.kt | 32 ---------- app/src/main/java/xyz/adjutor/aniki/TopManga.kt | 1 + .../main/java/xyz/adjutor/aniki/TopMangaAdapter.kt | 69 ++++++++++++++++++++++ .../main/java/xyz/adjutor/aniki/TopMangaPage.kt | 4 +- 8 files changed, 73 insertions(+), 150 deletions(-) delete mode 100644 app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt delete mode 100644 app/src/main/java/xyz/adjutor/aniki/MangaAdapter.kt delete mode 100644 app/src/main/java/xyz/adjutor/aniki/NewsPage.kt create mode 100644 app/src/main/java/xyz/adjutor/aniki/TopMangaAdapter.kt (limited to 'app/src/main/java/xyz') diff --git a/app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt b/app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt deleted file mode 100644 index 4579c69..0000000 --- a/app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt +++ /dev/null @@ -1,31 +0,0 @@ -package xyz.adjutor.aniki - -import android.os.Bundle -import androidx.fragment.app.Fragment -import android.view.LayoutInflater -import android.view.View -import android.view.ViewGroup -import android.widget.Button -import androidx.navigation.fragment.findNavController - -/** - * A simple [Fragment] subclass as the second destination in the navigation. - */ -class ArticlePage : Fragment() { - - override fun onCreateView( - inflater: LayoutInflater, container: ViewGroup?, - savedInstanceState: Bundle? - ): View? { - // Inflate the layout for this fragment - return inflater.inflate(R.layout.article_page, container, false) - } - - override fun onViewCreated(view: View, savedInstanceState: Bundle?) { - super.onViewCreated(view, savedInstanceState) - - view.findViewById