Skip to content

Commit

Permalink
no longer accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
mtotschnig committed May 17, 2020
1 parent 6a3fcbc commit c0b5fc4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,15 @@ private void animateView(final View target, final int type) {

@Override
public Parcelable onSaveInstanceState() {
return new SavedState(super.onSaveInstanceState(), mExpandableStickyListHeadersAdapter.mCollapseHeaderIds);
return new SavedState(super.onSaveInstanceState(), mExpandableStickyListHeadersAdapter.getCollapseHeaderIds());
}

@Override
public void onRestoreInstanceState(Parcelable state) {
SavedState ss = (SavedState) state;
super.onRestoreInstanceState(ss.getSuperState());
if (mExpandableStickyListHeadersAdapter != null) {
mExpandableStickyListHeadersAdapter.mCollapseHeaderIds = ss.collapsedHeaderIds;
mExpandableStickyListHeadersAdapter.setCollapseHeaderIds(ss.collapsedHeaderIds);
}
}

Expand Down

0 comments on commit c0b5fc4

Please sign in to comment.