BottomBar
BottomBar copied to clipboard
onSaveInstanceState changed?
With version 1.3.9, in MainActivity, the code is right:
@Override
protected void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
HDApplication.bottomBar.onSaveInstanceState(outState);
}
but change to version 2.1.1, there is an error, as the screenshot below:

@zhangzhzh Does not need to be invoked onSaveInstanceState manually in version 2.x. You can remove it.
@ChaosLeong I guess and do it, and just want to confirm it. thx
Yep, the README & the sample app both have instructions to how set it up. It doesn't require that onSaveInstanceState call anymore.