aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/SecondFragment.kt
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-12 11:26:07 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-12 11:26:07 +0100
commit416450b33960588984d88659d596703e84c8c2d5 (patch)
tree86775e66f9372fb2c557a086478cdddc1df12780 /app/src/main/java/xyz/adjutor/aniki/SecondFragment.kt
parent3decfd9d0d043c710f48cc145027a7b6bd45df8f (diff)
Renaming.
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/SecondFragment.kt')
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/SecondFragment.kt32
1 files changed, 0 insertions, 32 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/SecondFragment.kt b/app/src/main/java/xyz/adjutor/aniki/SecondFragment.kt
deleted file mode 100644
index 2e215c4..0000000
--- a/app/src/main/java/xyz/adjutor/aniki/SecondFragment.kt
+++ /dev/null
@@ -1,32 +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 SecondFragment : Fragment() {
-
- override fun onCreateView(
- inflater: LayoutInflater, container: ViewGroup?,
- savedInstanceState: Bundle?
- ): View? {
- // Inflate the layout for this fragment
- return inflater.inflate(R.layout.fragment_second, container, false)
- }
-
- override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
- super.onViewCreated(view, savedInstanceState)
-
- view.findViewById<Button>(R.id.home).setOnClickListener {
- findNavController().navigate(R.id.action_SecondFragment_to_FirstFragment)
- }
- val industryNews = News(0,"Horror Manga Ajin Ends Nine-Year Serialization","Gamon Sakurai's Ajin (Ajin: Demi-Human) manga ended its nine-year run in the March issue of good! Afternoon on Friday.")
- }
-} \ No newline at end of file