From 94ab3bbeb21049ac1be128ee00dbae1570346123 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sun, 21 Feb 2021 18:24:25 +0100 Subject: Displaying the other infos from the TopManga API. --- app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaPage.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaPage.kt') diff --git a/app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaPage.kt b/app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaPage.kt index 697ba6f..c560ffd 100644 --- a/app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaPage.kt +++ b/app/src/main/java/xyz/adjutor/aniki/topmanga/TopMangaPage.kt @@ -96,7 +96,7 @@ class TopMangaPage : Fragment() { val mangaList: List = response.body()!!.getResults() //getting the "top" field containing our list of TopMangas saveList(mangaList) - showList(view, mangaList) // calling the method in charge of displaying on the recyclerview + showList(view, mangaList) //calling the method in charge of displaying on the recyclerview } else { showError() //a snackbar @@ -120,7 +120,7 @@ class TopMangaPage : Fragment() { } private fun showError() { - Snackbar.make(requireView(), "HA? YOU THOUGHT IT WAS AN API !? BUT IT WAS I, ERROR !", Snackbar.LENGTH_LONG) + Snackbar.make(requireView(), "API ERROR", Snackbar.LENGTH_LONG) .setAction("Action", null).show() } -- cgit v1.2.3