diff options
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/NewsPage.kt')
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/NewsPage.kt | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/NewsPage.kt b/app/src/main/java/xyz/adjutor/aniki/NewsPage.kt deleted file mode 100644 index 90be1bd..0000000 --- a/app/src/main/java/xyz/adjutor/aniki/NewsPage.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 NewsPage : Fragment() { - - override fun onCreateView( - inflater: LayoutInflater, container: ViewGroup?, - savedInstanceState: Bundle? - ): View? { - // Inflate the layout for this fragment - return inflater.inflate(R.layout.news_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_NewsPage_to_HomePage) - } - //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 |