mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 19:47:36 +00:00
Fix, ファイルパス確認してみた
This commit is contained in:
2 files changed
+4
-4
No files matched your search
@@ -77,5 +77,9 @@ public class DebugMenuFragment extends Fragment {
|
|||||||
view.findViewById(R.id.btn_debug_menu_call_play_ground).setOnClickListener( v -> {
|
view.findViewById(R.id.btn_debug_menu_call_play_ground).setOnClickListener( v -> {
|
||||||
Navigation.findNavController(view).navigate(R.id.action_debugMenuFragment_to_debugPlayGroundFragment);
|
Navigation.findNavController(view).navigate(R.id.action_debugMenuFragment_to_debugPlayGroundFragment);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
view.findViewById(R.id.btn_debug_menu_get_external_path).setOnClickListener( v -> {
|
||||||
|
Toast.makeText(getContext(), getContext().getExternalFilesDir(null).toPath().toString(), Toast.LENGTH_SHORT).show();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
-4
@@ -18,7 +18,6 @@ import org.w3c.dom.Text;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import one.nem.lacerta.data.model.shared_pref.enums.SharedPrefType;
|
import one.nem.lacerta.data.model.shared_pref.enums.SharedPrefType;
|
||||||
import one.nem.lacerta.source.pref.repository.Common; //TODO-rca: 名前変えるべきかも
|
|
||||||
|
|
||||||
import one.nem.lacerta.data.repository.SharedPref;
|
import one.nem.lacerta.data.repository.SharedPref;
|
||||||
|
|
||||||
@@ -34,9 +33,6 @@ import dagger.hilt.android.AndroidEntryPoint;
|
|||||||
@AndroidEntryPoint
|
@AndroidEntryPoint
|
||||||
public class DebugSharedPrefEditorFragment extends Fragment {
|
public class DebugSharedPrefEditorFragment extends Fragment {
|
||||||
|
|
||||||
@Inject
|
|
||||||
Common prefCommon;
|
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
SharedPref sharedPref;
|
SharedPref sharedPref;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user