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 ----------------- 5 files changed, 75 insertions(+), 75 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 (limited to 'app/src/main/java/xyz') 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