We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@OverRide protected void onRestoreInstanceState(Parcelable state) { SavedState savedState = (SavedState) state; super.onRestoreInstanceState(savedState.getSuperState()); this.displayState = savedState.state; setDisplayState(this.displayState); }
其中如果设置了 this.displayState = savedState.state; 再调用 setDisplayState(this.displayState); 等于没有实际作用,不应该提前设置状态值 而是直接调用 setDisplayState(savedState.state;);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@OverRide
protected void onRestoreInstanceState(Parcelable state) {
SavedState savedState = (SavedState) state;
super.onRestoreInstanceState(savedState.getSuperState());
this.displayState = savedState.state;
setDisplayState(this.displayState);
}
其中如果设置了 this.displayState = savedState.state; 再调用 setDisplayState(this.displayState); 等于没有实际作用,不应该提前设置状态值 而是直接调用 setDisplayState(savedState.state;);
The text was updated successfully, but these errors were encountered: