diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-19 14:00:42 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-19 14:00:42 +0100 |
commit | fa849021bf137fc4b245a8c0e7a2a8fc46d574df (patch) | |
tree | 1d4e58436f7d88c82b588c86fe99fce74ea09de3 /app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt | |
parent | 41bb476749fa84164726b728676b144531009446 (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.kt | 31 |
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 |