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" />