Fix, ファイルパス確認してみた

This commit is contained in:
ろむねこ 2023-12-12 10:09:17 +09:00
parent 5c22b2731b
commit 52087c3b9e
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168
2 changed files with 4 additions and 4 deletions

View File

@ -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();
});
} }
} }

View File

@ -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;