When ChangeHandler uses AndroidX transition, composition gets ON_DESTROY callback and gets disposed.
After Compose View gets attached again to window overlay it won't restart composition because ViewTreeLifecycle is destroyed.
This causes the view to disappear.
Changes:
extend lifecycle till the end of transition
dispatch destroy when change is done
Android behavior with a plain project that uses scene transitions and compose views has the same re-start beavahior
This is just a demo of the required changes.
When ChangeHandler uses AndroidX transition, composition gets
ON_DESTROY
callback and gets disposed. After Compose View gets attached again to window overlay it won't restart composition because ViewTreeLifecycle is destroyed. This causes the view to disappear.Changes:
Android behavior with a plain project that uses scene transitions and compose views has the same re-start beavahior