Select groups tab in bottom navigation view
This commit is contained in:
parent
b4f303b2bb
commit
01ffd6d974
1 changed files with 1 additions and 0 deletions
|
@ -171,6 +171,7 @@ public class MapMarkersDialogFragment extends android.support.v4.app.DialogFragm
|
||||||
groupsFragment.startLocationUpdate();
|
groupsFragment.startLocationUpdate();
|
||||||
groupsFragment.setGroupIdToOpen(groupIdToOpen);
|
groupsFragment.setGroupIdToOpen(groupIdToOpen);
|
||||||
viewPager.setCurrentItem(GROUPS_POSITION, false);
|
viewPager.setCurrentItem(GROUPS_POSITION, false);
|
||||||
|
bottomNav.getMenu().findItem(R.id.action_groups).setChecked(true);
|
||||||
}
|
}
|
||||||
bottomNav.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() {
|
bottomNav.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() {
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue