@SuppressWarnings("StatementWithEmptyBody")
@Override
public boolean onNavigationItemSelected(MenuItem item) {
int id = item.getItemId();
if (id == R.id.nav_camara) {
<BUG>getSingleStackNavigationFragmentManager().pushFragment(SampleFragment.newInstance("Fragment B", 1));
</BUG>
}
else if (id == R.id.nav_gallery) {
<BUG>getSingleStackNavigationFragmentManager().clearNavigationStackToRoot();

getSingleStackNavigationFragmentManager().pushFragment(SampleFragment.newInstance("Fragment C", 1));
</BUG>
}

@SuppressWarnings("StatementWithEmptyBody")
@Override
public boolean onNavigationItemSelected(MenuItem item) {
int id = item.getItemId();
if (id == R.id.nav_camara) {
getSingleStackNavigationFragmentManager().getNavigationManager().pushFragment(SampleFragment.newInstance("Fragment B", 1));
}
else if (id == R.id.nav_gallery) {
getSingleStackNavigationFragmentManager().getNavigationManager().clearNavigationStackToRoot();
getSingleStackNavigationFragmentManager().getNavigationManager().pushFragment(SampleFragment.newInstance("Fragment C", 1));
}
