Save BottomNavigationView selected item during screen rotation
Using ASL's 25.0 BottomNavigationView i'm faced with some troubles, like a save selected item (or his index) and selected item programmatically. Unfortunately, there are plenty of features missing in BottomNavigationView at this stage. Your question was really interesting and I wrote this extended BottomNavigationView that preserves the state and, in your case, saves last selected item. Here is gist to the code This extension includes: Gives public two method to set and get selected items programatically. Saves and restores state only for the last selection. Lets wait until ASL devs fix this .