mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
依存関係追加とか
This commit is contained in:
parent
3dc1e2d4ee
commit
d4e429fdca
|
@ -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
|
||||
|
|
|
@ -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 -> {
|
||||
|
|
|
@ -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" }
|
Loading…
Reference in New Issue
Block a user