From 29a77307a15f524fd96e61221a4f2e9385337283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Mon, 11 Dec 2023 13:12:08 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=A9=E3=82=B8=E3=82=AA=E3=83=9C=E3=82=BF?= =?UTF-8?q?=E3=83=B3=E5=88=87=E3=82=8A=E6=9B=BF=E3=81=88=E6=99=82=E3=81=AB?= =?UTF-8?q?=E3=83=AA=E3=82=B9=E3=83=88=E3=82=92=E6=9B=B4=E6=96=B0=E3=81=99?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lacerta/feature/debug/DebugSharedPrefEditorFragment.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugSharedPrefEditorFragment.java b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugSharedPrefEditorFragment.java index c39c2323..c3bb6ad7 100644 --- a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugSharedPrefEditorFragment.java +++ b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugSharedPrefEditorFragment.java @@ -40,7 +40,7 @@ public class DebugSharedPrefEditorFragment extends Fragment { @Inject SharedPref sharedPref; - SharedPrefType sharedPrefType = SharedPrefType.COMMON; + SharedPrefType sharedPrefType = null; public DebugSharedPrefEditorFragment() { // Required empty public constructor @@ -90,8 +90,10 @@ public class DebugSharedPrefEditorFragment extends Fragment { ((RadioGroup) view.findViewById(R.id.radioGroupPrefType)).setOnCheckedChangeListener((group, checkedId) -> { if (checkedId == R.id.radioButtonCommon) { sharedPrefType = SharedPrefType.COMMON; + updateList(prefItemTextView); } else if (checkedId == R.id.radioButtonUserData) { sharedPrefType = SharedPrefType.USERDATA; + updateList(prefItemTextView); } else { Log.e("DebugSharedPrefEditorFragment", "radioButtonのIDが不正です"); }