From 4f8751e4b3b34ac8e136edc98770450870688bd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Thu, 25 Jan 2024 11:11:52 +0900 Subject: [PATCH] =?UTF-8?q?=E5=BB=83=E6=AD=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shared/ui/LacertaTextInputDialog.java | 49 ------------------- .../fragment_lacerta_text_input_dialog.xml | 14 ------ 2 files changed, 63 deletions(-) delete mode 100644 shared/ui/src/main/java/one/nem/lacerta/shared/ui/LacertaTextInputDialog.java delete mode 100644 shared/ui/src/main/res/layout/fragment_lacerta_text_input_dialog.xml diff --git a/shared/ui/src/main/java/one/nem/lacerta/shared/ui/LacertaTextInputDialog.java b/shared/ui/src/main/java/one/nem/lacerta/shared/ui/LacertaTextInputDialog.java deleted file mode 100644 index 9dedec94..00000000 --- a/shared/ui/src/main/java/one/nem/lacerta/shared/ui/LacertaTextInputDialog.java +++ /dev/null @@ -1,49 +0,0 @@ -package one.nem.lacerta.shared.ui; - -import android.os.Bundle; - -import androidx.fragment.app.Fragment; - -import android.view.LayoutInflater; -import android.view.View; -import android.view.ViewGroup; - -/** - * A simple {@link Fragment} subclass. - * Use the {@link LacertaTextInputDialog#newInstance} factory method to - * create an instance of this fragment. - */ -public class LacertaTextInputDialog extends Fragment { - - String title; - String message; - - public LacertaTextInputDialog() { - // Required empty public constructor - } - - public static LacertaTextInputDialog newInstance(String title, String message) { - LacertaTextInputDialog fragment = new LacertaTextInputDialog(); - Bundle args = new Bundle(); - args.putString("title", title); - args.putString("message", message); - fragment.setArguments(args); - return fragment; - } - - @Override - public void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - if (getArguments() != null) { - title = getArguments().getString("title"); - message = getArguments().getString("message"); - } - } - - @Override - public View onCreateView(LayoutInflater inflater, ViewGroup container, - Bundle savedInstanceState) { - // Inflate the layout for this fragment - return inflater.inflate(R.layout.fragment_lacerta_text_input_dialog, container, false); - } -} \ No newline at end of file diff --git a/shared/ui/src/main/res/layout/fragment_lacerta_text_input_dialog.xml b/shared/ui/src/main/res/layout/fragment_lacerta_text_input_dialog.xml deleted file mode 100644 index 8b739179..00000000 --- a/shared/ui/src/main/res/layout/fragment_lacerta_text_input_dialog.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - \ No newline at end of file