From 031c755e1d04129fa64c7bca72d1dd053acc9db5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Sun, 10 Dec 2023 22:57:11 +0900 Subject: [PATCH] =?UTF-8?q?PlaceHolder=E5=85=A5=E3=82=8C=E3=81=9F=E3=82=8A?= =?UTF-8?q?=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../feature/debug/DebugMenuFragment.java | 21 ++++++++++++------- .../main/res/layout/fragment_debug_menu.xml | 4 ++-- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuFragment.java b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuFragment.java index b7ffe97f..f0050726 100644 --- a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuFragment.java +++ b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuFragment.java @@ -80,14 +80,19 @@ public class DebugMenuFragment extends Fragment { public void onViewCreated(View view, Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); -// Button button = view.findViewById(R.id.button_di_test); -// // Lambda -// button.setOnClickListener(v -> { -// Toast.makeText(getContext(), deviceMeta.getDeviceMeta().getAndroidApiLevel() -// + deviceMeta.getDeviceMeta().getAndroidVersion() -// + deviceMeta.getDeviceMeta().getDeviceManufacturer() -// + deviceMeta.getDeviceMeta().getDeviceModel(), Toast.LENGTH_SHORT).show(); -// }); + view.findViewById(R.id.btn_debug_menu_scan).setOnClickListener( v -> { + // スキャン機能呼び出し + Toast.makeText(getContext(), "testMessage", Toast.LENGTH_SHORT).show(); + }); + view.findViewById(R.id.btn_debug_menu_shared_pref_editor).setOnClickListener( v -> { + // SharedPrefEditor機能呼び出し + Toast.makeText(getContext(), "textMessage", Toast.LENGTH_SHORT).show(); + }); + + view.findViewById(R.id.btn_debug_menu_clear_pref).setOnClickListener( v -> { + // SharedPrefClear + Toast.makeText(getContext(), "textMessage", Toast.LENGTH_SHORT).show(); + }); } } \ No newline at end of file diff --git a/feature/debug/src/main/res/layout/fragment_debug_menu.xml b/feature/debug/src/main/res/layout/fragment_debug_menu.xml index 5ef3b7e9..ba8b2190 100644 --- a/feature/debug/src/main/res/layout/fragment_debug_menu.xml +++ b/feature/debug/src/main/res/layout/fragment_debug_menu.xml @@ -66,10 +66,10 @@ android:layout_marginTop="8dp" />