Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
Currently,
SavedStateHandle
supports observing and setting entries withLiveData
viaSavedStateHandle.getLiveData(String key)
andSavedStateHandle.getLiveData(String key, T initialValue)
.When using
kotlinx.coroutines
, it would be nice for interoperability purposes ifSavedStateHandle
also supported observing and setting entries withMutableSharedFlow
/MutableStateFlow
(depending on if there is an initial value available and if conflation of values is desired).