After making the lifecycle multiplatform the behavior has changed compared to Androidx Lifecycle.
Steps to reproduce:
- Move
Lifecycle to CREATED state
- Add
DefaultLifecycleObserver to the Lifecycle
androidx.LifecycleObserver will immediately receive onCreated callback while DefaultPlatformLifecycleObserver will not receive any callbacks at all
After making the lifecycle multiplatform the behavior has changed compared to Androidx
Lifecycle.Steps to reproduce:
LifecycletoCREATEDstateDefaultLifecycleObserverto theLifecycleandroidx.LifecycleObserverwill immediately receiveonCreatedcallback whileDefaultPlatformLifecycleObserverwill not receive any callbacks at all