Merge branch 'develop' of https://github.com/SemvdH/Next-Location into develop
This commit is contained in:
@@ -130,9 +130,10 @@ public class MainActivity extends AppCompatActivity implements Refreshable {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void refreshAndNavigateTo(int id) {
|
public void refreshAndNavigateTo(int id) {
|
||||||
bottomNav.getMenu().clear();
|
this.setContentView(R.layout.activity_main);
|
||||||
bottomNav.inflateMenu(R.menu.navmenu);
|
BottomNavigationView navigationView = (BottomNavigationView) this.findViewById(R.id.navigation_bar);
|
||||||
bottomNav.setSelectedItemId(id);
|
navigationView.setSelectedItemId(id);
|
||||||
|
navigationView.setOnNavigationItemSelectedListener(navListener);
|
||||||
}
|
}
|
||||||
|
|
||||||
private final View.OnClickListener onInfoClickListener = new View.OnClickListener() {
|
private final View.OnClickListener onInfoClickListener = new View.OnClickListener() {
|
||||||
|
|||||||
Reference in New Issue
Block a user