mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 07:53:15 +00:00
ビルドエラー回避
This commit is contained in:
parent
1ceb3e29b7
commit
afef074242
|
@ -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();
|
||||
// }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user