Can't Repro
Status Update
Comments
bo...@gmail.com <bo...@gmail.com> #2
[Comment deleted]
ar...@google.com <ar...@google.com> #3
Oh, and I'm seeing this on both the emulator and a Galaxy Nexus. Simply launching an activity that does something like this is enough to reproduce:
ClipboardManager manager = (ClipboardManager) getSystemService(CLIPBOARD_SERVICE);
manager.addPrimaryClipChangedListener(new ClipboardManager.OnPrimaryClipChangedListener() {
@Override
public void onPrimaryClipChanged() { }
});
ClipboardManager manager = (ClipboardManager) getSystemService(CLIPBOARD_SERVICE);
manager.addPrimaryClipChangedListener(new ClipboardManager.OnPrimaryClipChangedListener() {
@Override
public void onPrimaryClipChanged() { }
});
Description
Currently it's not possible to select a bottom navigation item reliably on a BottomNavigationView. I am trying to use bottomNavigationView.getMenu().getItem(<index>).setChecked(true) but it doesn't work in all situations.
It seems that the NavigationView had a similar issue in the past which has been fixed by adding a setCheckedItem(itemId) method to it. The same should be done for BottomNavigationView as well selecting a page programatically does not work properly.
See issue