From fde5f0e26a394310f8b6b7a122c9240fa2883de3 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Mon, 31 May 2021 15:23:17 +0200 Subject: Changed the the prev and next button for top anime --- .../aniki/presentation/view/fragment/TopAnimeFragment.kt | 5 ----- app/src/main/res/layout/top_anime_page.xml | 16 +++++----------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/app/src/main/java/xyz/adjutor/aniki/presentation/view/fragment/TopAnimeFragment.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/fragment/TopAnimeFragment.kt index 56f7a49..5dc64ff 100644 --- a/app/src/main/java/xyz/adjutor/aniki/presentation/view/fragment/TopAnimeFragment.kt +++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/fragment/TopAnimeFragment.kt @@ -6,7 +6,6 @@ import android.view.View import android.view.ViewGroup import android.widget.Button import androidx.fragment.app.Fragment -import androidx.navigation.fragment.findNavController import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import androidx.swiperefreshlayout.widget.SwipeRefreshLayout @@ -38,10 +37,6 @@ class TopAnimeFragment : Fragment() { override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) - //button to return to the home page - view.findViewById