From 6d3d9f001ef3661f7bf8f56c9df7fda2b950709f 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:58:41 +0900 Subject: [PATCH] =?UTF-8?q?Data=E3=83=A2=E3=82=B8=E3=83=A5=E3=83=BC?= =?UTF-8?q?=E3=83=AB=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- feature/debug/build.gradle | 2 +- .../lacerta/feature/debug/DebugMenuFragment.java | 14 +++++--------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/feature/debug/build.gradle b/feature/debug/build.gradle index 852a2e71..602fde92 100644 --- a/feature/debug/build.gradle +++ b/feature/debug/build.gradle @@ -45,7 +45,7 @@ dependencies { // 内部モジュール // data - implementation project(':data:repository') +// implementation project(':data:repository') } \ No newline at end of file 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 38fa171b..d0d8187d 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 @@ -11,8 +11,6 @@ import android.widget.Button; import android.widget.Toast; import dagger.hilt.android.AndroidEntryPoint; -import one.nem.lacerta.data.repository.TestData; - import javax.inject.Inject; /** @@ -24,8 +22,6 @@ import javax.inject.Inject; @AndroidEntryPoint 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 @@ -78,11 +74,11 @@ 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(), testData.getTestData(), Toast.LENGTH_SHORT).show(); - }); +// 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