BottomBar icon indicating copy to clipboard operation
BottomBar copied to clipboard

onSaveInstanceState changed?

Open zhangzhzh opened this issue 9 years ago • 3 comments

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: 2017-02-23 00 18 06

zhangzhzh avatar Feb 22 '17 16:02 zhangzhzh

@zhangzhzh Does not need to be invoked onSaveInstanceState manually in version 2.x. You can remove it.

ChaosLeung avatar Feb 24 '17 02:02 ChaosLeung

@ChaosLeong I guess and do it, and just want to confirm it. thx

zhangzhzh avatar Feb 24 '17 15:02 zhangzhzh

Yep, the README & the sample app both have instructions to how set it up. It doesn't require that onSaveInstanceState call anymore.

roughike avatar Mar 23 '17 20:03 roughike