summaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-19 14:00:42 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-19 14:00:42 +0100
commitfa849021bf137fc4b245a8c0e7a2a8fc46d574df (patch)
tree1d4e58436f7d88c82b588c86fe99fce74ea09de3 /app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt
parent41bb476749fa84164726b728676b144531009446 (diff)
Cleaning.release/1.0
Removing some useless files. Adding comments. Updating the home page.
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt')
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt31
1 files changed, 0 insertions, 31 deletions
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<Button>(R.id.button_home).setOnClickListener {
- findNavController().navigate(R.id.action_ArticlePage_to_HomePage)
- }
- }
-} \ No newline at end of file