Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

SavedStateRegistry.SavedStateProvider

public static interface SavedStateRegistry.SavedStateProvider

androidx.savedstate.SavedStateRegistry.SavedStateProvider


This interface marks a component that contributes to saved state.

Summary

Public methods

abstract Bundle saveState()

Called to retrieve a state from a component before being killed so later the state can be received from SavedStateRegistry.consumeRestoredStateForKey(String)

Public methods

saveState

public abstract Bundle saveState ()

Called to retrieve a state from a component before being killed so later the state can be received from SavedStateRegistry.consumeRestoredStateForKey(String)

Returns
Bundle S with your saved state.