Skip to content

Instantly share code, notes, and snippets.

@nontravis
Last active January 18, 2017 14:49
Show Gist options
  • Save nontravis/9130519442ae89a2f6853cb59b82a905 to your computer and use it in GitHub Desktop.
Save nontravis/9130519442ae89a2f6853cb59b82a905 to your computer and use it in GitHub Desktop.
BaseViewGroup_override_method
abstract public class BaseViewGroup extends FrameLayout{
...
@Override
protected void dispatchSaveInstanceState( SparseArray<Parcelable> container ){
dispatchFreezeSelfOnly( container );
}
@Override
protected void dispatchRestoreInstanceState( SparseArray<Parcelable> container ){
dispatchThawSelfOnly( container );
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment