public class ExtendableSavedState

SavedState for widgets that want to save and restore their own state in onSaveInstanceState. Supports widgets whose state is composed or delegated out to multiple components.

Widgets with only composed or delegated state can directly instantiate this class and write to extendableStates. Widgets with additional state should subclass ExtendableSavedState rather than trying to force the additional state into extendableStates.

Summary

Constants

static final Creator<ExtendableSavedState>

Constants

CREATOR

public static final Creator<ExtendableSavedState> CREATOR

Public fields

Public constructors

Public methods

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-10-28 UTC.