This message was deleted.
# compose
s
This message was deleted.
v
The implementation is built on top of
Activity::onRetainNonConfigurationInstance
. It may be possible to preserve coroutines using
retain
as well, since it's based on
ViewModel
.
I'd recommend handling all configuration changes (
android:configChanges="allKnown"
) to avoid worrying about activity recreation