diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-19 19:47:56 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-19 19:47:56 +0100 |
commit | 485d3ca989bd4cce1788eae17bcc7587d5ef2c90 (patch) | |
tree | 3f8c599746ce3863c4c341d00ef958bf1d42da2e /app/src/main/java/xyz/adjutor/aniki/HomePage.kt | |
parent | c8a84acbec91678c14e23d8dfed20f26d9d0361e (diff) | |
parent | 00ac626b27076397b79bcd4bdd934ab861ff05a5 (diff) |
Merge branch 'top_anime_feature' into developrelease/1.1
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/HomePage.kt')
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/HomePage.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/HomePage.kt b/app/src/main/java/xyz/adjutor/aniki/HomePage.kt index b6d45c3..59d7c62 100644 --- a/app/src/main/java/xyz/adjutor/aniki/HomePage.kt +++ b/app/src/main/java/xyz/adjutor/aniki/HomePage.kt @@ -20,8 +20,12 @@ class HomePage : Fragment() { override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) + view.findViewById<Button>(R.id.button_top_manga).setOnClickListener { findNavController().navigate(R.id.action_HomePage_to_TopMangaPage) } + view.findViewById<Button>(R.id.button_top_anime).setOnClickListener { + findNavController().navigate(R.id.action_HomePage_to_TopAnimePage) + } } }
\ No newline at end of file |