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/NewsPage.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/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 |