From 701bb898c5fb5be7de1c32268e4f9cac5ef5f234 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 11:54:02 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AD=E3=82=B0=E6=8C=BF=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lacerta/feature/debug/DebugSharedPrefEditorFragment.java | 3 +++ 1 file changed, 3 insertions(+) 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 6fc384d2..709eaa62 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 @@ -4,6 +4,7 @@ import android.os.Bundle; import androidx.fragment.app.Fragment; +import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; @@ -60,12 +61,14 @@ public class DebugSharedPrefEditorFragment extends Fragment { view.findViewById(R.id.loadButton).setOnClickListener(v -> { String key = loadKeyEditText.getText().toString(); String value = prefCommon.getStringValue(key); + Log.d("loadButton", "key:" + key + " value:" + value); view.findViewById(R.id.loadValueTextView).setContentDescription(value); }); view.findViewById(R.id.saveButton).setOnClickListener(v -> { String KeyValue = saveKeyEditText.getText().toString(); String[] split = KeyValue.split(":", 2); + Log.d("saveButton", "split[0]:" + split[0] + " split[1]:" + split[1]); prefCommon.setStringValue(split[0], split[1]); });