private void handleSavedInstanceState(@Nullable final Bundle savedInstanceState) {
        if (savedInstanceState != null) {
            floatingActionButtonsVisible =
                    savedInstanceState.getBoolean(FLOATING_ACTION_BUTTONS_VISIBLE_EXTRA);
            int visibility = floatingActionButtonsVisible ? View.VISIBLE : View.INVISIBLE;
            smallFloatingActionButton.setVisibility(visibility);
            normalFloatingActionButton.setVisibility(visibility);
            largeFloatingActionButton.setVisibility(visibility);
        }
    }
private void handleSavedInstanceState(@Nullable final Bundle savedInstanceState) {
        if (savedInstanceState != null) {
            floatingActionButtonsVisible =
                    savedInstanceState.getBoolean(FLOATING_ACTION_BUTTONS_VISIBLE_EXTRA);
            int visibility = floatingActionButtonsVisible ? View.VISIBLE : View.INVISIBLE;
            smallFloatingActionButton.setVisibility(visibility);
            normalFloatingActionButton.setVisibility(visibility);
            largeFloatingActionButton.setVisibility(visibility);
        }
    }
private void handleSavedInstanceState ( @ Nullable final Bundle savedInstanceState ) { if ( savedInstanceState != null ) { floatingActionButtonsVisible = savedInstanceState . getBoolean ( FLOATING_ACTION_BUTTONS_VISIBLE_EXTRA ) ; int visibility = floatingActionButtonsVisible ? View . VISIBLE : View . INVISIBLE ; smallFloatingActionButton . setVisibility ( visibility ) ; normalFloatingActionButton . setVisibility ( visibility ) ; largeFloatingActionButton . setVisibility ( visibility ) ; } }
Adapts the activity's views depending on the saved instance state, which has been passed to
the activity.

@param savedInstanceState
The saved instance state as an instance of the class {@link Bundle} or null, if no
saved instance state is available
Adapts the activity s views depending on the saved instance state which has been passed to the activity .