Is there anyway to change selected tab of BottomNavigationView from "com.android.support:design" library with code?
<android.support.design.widget.BottomNavigationView
xmlns:design="http://schema.android.com/apk/res/android.support.design"
android:id="@+id/navigation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
app:layout_anchorGravity="bottom"
app:menu="@menu/bottom_bar"
design:menu="@menu/bottom_bar"/>
Looks like we need to update BottomNavigaitonPresenter's state with updateMenuView() method. Example code with reflection;