Fixed
Status Update
Comments
il...@google.com <il...@google.com>
jb...@google.com <jb...@google.com>
ap...@google.com <ap...@google.com> #2
A couple of questions:
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
jb...@google.com <jb...@google.com> #3
Tested on Android 12 Emulator with custom executor, but cannot repro this issue.
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).