public void restoreInstanceState(@Nullable Parcelable parcelable) {
        mState = parcelable instanceof TreeState ? (TreeState) parcelable : new TreeState();
        rebuildAllEntriesAndRangeTable();
        updateEntryAdapters();
    }
public void restoreInstanceState ( @ Nullable Parcelable parcelable ) { mState = parcelable instanceof TreeState ? ( TreeState ) parcelable : new TreeState ( ) ; rebuildAllEntriesAndRangeTable ( ) ; updateEntryAdapters ( ) ; }
Restores the state of the adapter from a previous state parcelable. Only effective when root adapter {@link
PowerAdapter#hasStableIds()}