ビルドエラー回避

This commit is contained in:
ろむねこ 2024-01-22 18:14:42 +09:00
parent 1ceb3e29b7
commit afef074242
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -106,11 +106,11 @@ public class MainActivity extends AppCompatActivity {
if (!isEnabled) bottomNavigationView.getMenu().removeItem(menuId);
}
@Override
public void navigateToFragment(Fragment fragment) {
getSupportFragmentManager().beginTransaction()
.replace(R.id.nav_host_fragment, fragment)
.addToBackStack(null)
.commit();
}
// @Override
// public void navigateToFragment(Fragment fragment) {
// getSupportFragmentManager().beginTransaction()
// .replace(R.id.nav_host_fragment, fragment)
// .addToBackStack(null)
// .commit();
// }
}