From 416450b33960588984d88659d596703e84c8c2d5 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Fri, 12 Feb 2021 11:26:07 +0100 Subject: Renaming. --- .../main/java/xyz/adjutor/aniki/FirstFragment.kt | 40 --------------- app/src/main/java/xyz/adjutor/aniki/HomePage.kt | 40 +++++++++++++++ app/src/main/java/xyz/adjutor/aniki/News.kt | 6 +-- app/src/main/java/xyz/adjutor/aniki/NewsPage.kt | 32 ++++++++++++ .../main/java/xyz/adjutor/aniki/SecondFragment.kt | 32 ------------ app/src/main/res/layout/fragment_first.xml | 58 ---------------------- app/src/main/res/layout/fragment_second.xml | 29 ----------- app/src/main/res/layout/home_page.xml | 58 ++++++++++++++++++++++ app/src/main/res/layout/news_page.xml | 29 +++++++++++ app/src/main/res/navigation/nav_graph.xml | 26 +++++----- app/src/main/res/values/strings.xml | 5 +- 11 files changed, 177 insertions(+), 178 deletions(-) delete mode 100644 app/src/main/java/xyz/adjutor/aniki/FirstFragment.kt create mode 100644 app/src/main/java/xyz/adjutor/aniki/HomePage.kt create mode 100644 app/src/main/java/xyz/adjutor/aniki/NewsPage.kt delete mode 100644 app/src/main/java/xyz/adjutor/aniki/SecondFragment.kt delete mode 100644 app/src/main/res/layout/fragment_first.xml delete mode 100644 app/src/main/res/layout/fragment_second.xml create mode 100644 app/src/main/res/layout/home_page.xml create mode 100644 app/src/main/res/layout/news_page.xml (limited to 'app/src/main') diff --git a/app/src/main/java/xyz/adjutor/aniki/FirstFragment.kt b/app/src/main/java/xyz/adjutor/aniki/FirstFragment.kt deleted file mode 100644 index e2fa6eb..0000000 --- a/app/src/main/java/xyz/adjutor/aniki/FirstFragment.kt +++ /dev/null @@ -1,40 +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 -import com.google.android.material.snackbar.Snackbar - -/** - * A simple [Fragment] subclass as the default destination in the navigation. - */ -class FirstFragment : Fragment() { - - override fun onCreateView( - inflater: LayoutInflater, container: ViewGroup?, - savedInstanceState: Bundle? - ): View? { - // Inflate the layout for this fragment - return inflater.inflate(R.layout.fragment_first, container, false) - } - - override fun onViewCreated(view: View, savedInstanceState: Bundle?) { - super.onViewCreated(view, savedInstanceState) - - view.findViewById