drawerToggle.syncState();
drawerToggle.setToolbarNavigationClickListener(v -> fragmentManager.popBackStackImmediate());
NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view);
navigationView.setNavigationItemSelectedListener(this);
navigationView.setCheckedItem(R.id.nav_repos);
<BUG>fragmentManager.addOnBackStackChangedListener(this);
showFragment(new RepoListFragment(), false);
}</BUG>
@Override
public void onBackPressed() {

drawerToggle.syncState();
drawerToggle.setToolbarNavigationClickListener(v -> fragmentManager.popBackStackImmediate());
NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view);
navigationView.setNavigationItemSelectedListener(this);
navigationView.setCheckedItem(R.id.nav_repos);
fragmentManager.addOnBackStackChangedListener(this);
if (savedInstanceState == null) {
showFragment(new RepoListFragment(), false);
}
}
@Override
public void onBackPressed() {
