-
-
Save hitherejoe/20528e0b44d762cb8dc33f912038f532 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BottomNavigationView bottomNavigationView = (BottomNavigationView) | |
findViewById(R.id.bottom_navigation); | |
bottomNavigationView.setOnNavigationItemSelectedListener( | |
new BottomNavigationView.OnNavigationItemSelectedListener() { | |
@Override | |
public boolean onNavigationItemSelected(@NonNull MenuItem item) { | |
switch (item.getItemId()) { | |
case R.id.action_favorites: | |
case R.id.action_schedules: | |
case R.id.action_music: | |
} | |
return true; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment