From 69d34a4e3844c148cf637a5135872bb09ef3d07a Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Thu, 13 May 2021 13:09:14 +0200 Subject: Redefining how the controller is started. --- .../adjutor/aniki/presentation/view/manga/DetailTopMangaActivity.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/src/main/java/xyz/adjutor/aniki/presentation/view') diff --git a/app/src/main/java/xyz/adjutor/aniki/presentation/view/manga/DetailTopMangaActivity.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/manga/DetailTopMangaActivity.kt index 74f7595..2a4b28b 100644 --- a/app/src/main/java/xyz/adjutor/aniki/presentation/view/manga/DetailTopMangaActivity.kt +++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/manga/DetailTopMangaActivity.kt @@ -20,7 +20,6 @@ class DetailTopMangaActivity : AppCompatActivity() { setContentView(R.layout.activity_detail_top_manga) controller = DetailTopMangaController() - controller.onStart(this) //used in the list val intentMangaTitle = "themangatitle" @@ -85,7 +84,7 @@ class DetailTopMangaActivity : AppCompatActivity() { tvUrl.text = mangaUrl - controller.launch(mangaId.toString()) + controller.onStart(this, mangaId.toString()) } -- cgit v1.2.3