依存関係追加とか

This commit is contained in:
ろむねこ 2023-12-11 11:47:15 +09:00
parent 3dc1e2d4ee
commit d4e429fdca
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168
3 changed files with 7 additions and 1 deletions

View File

@ -14,8 +14,10 @@ import javax.inject.Inject;
import dagger.hilt.android.AndroidEntryPoint;
import dagger.hilt.android.qualifiers.ApplicationContext;
import one.nem.lacerta.source.pref.repository.Common;
@AndroidEntryPoint
public class CommonImpl {
public class CommonImpl implements Common {
@ApplicationContext
@Inject

View File

@ -3,6 +3,7 @@ package one.nem.lacerta.feature.debug;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import androidx.navigation.Navigation;
import androidx.navigation.ui.NavigationUI;
import android.view.LayoutInflater;
@ -88,6 +89,7 @@ public class DebugMenuFragment extends Fragment {
view.findViewById(R.id.btn_debug_menu_shared_pref_editor).setOnClickListener( v -> {
// Fragment移動
Navigation.findNavController(view).navigate(R.id.action_debugMenuFragment_to_debugSharedPrefEditorFragment);
});
view.findViewById(R.id.btn_debug_menu_clear_pref).setOnClickListener( v -> {

View File

@ -1,6 +1,7 @@
[versions]
nav = "2.7.5"
agp = "8.0.2"
activity = "1.8.0"
[libraries]
navigation-fragment = { group="androidx.navigation", name="navigation-fragment", version.ref="nav"}
@ -17,6 +18,7 @@ androidx-test-espresso-core = { group="androidx.test.espresso", name="espresso-c
com-google-dagger-hilt-android = { group="com.google.dagger", name="hilt-android", version="2.44" }
com-google-dagger-hilt-compiler = { group="com.google.dagger", name="hilt-compiler", version="2.44" }
androidx-activity = { group = "androidx.activity", name = "activity", version.ref = "activity" }
[plugins]
com-android-library = { id = "com.android.library", version.ref = "agp" }