From ce757da3c0a64e2cea7d437dc62361eeb9b09e23 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 17:24:21 +0900 Subject: [PATCH] =?UTF-8?q?DI=E3=83=86=E3=82=B9=E3=83=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../one/nem/lacerta/feature/debug/DebugMenuFragment.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 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 70345245..1b2af58b 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 @@ -8,6 +8,9 @@ import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; +import android.widget.Toast; + +import one.nem.lacerta.data.repository.TestData; import javax.inject.Inject; @@ -19,7 +22,7 @@ import javax.inject.Inject; public class DebugMenuFragment extends Fragment { @Inject - + TestData testData; // TODO: Rename parameter arguments, choose names that match // the fragment initialization parameters, e.g. ARG_ITEM_NUMBER @@ -75,8 +78,8 @@ public class DebugMenuFragment extends Fragment { Button button = view.findViewById(R.id.button_di_test); // Lambda button.setOnClickListener(v -> { - - } + Toast.makeText(getContext(), testData.getTestData(), Toast.LENGTH_SHORT).show(); + }); } } \ No newline at end of file