I am currently working on an Android library which helps create a floating view on the screen.
Recently, I added support for Composable and with the help of a custom LifecycleOwner, I can show/remove composable without any issue.
However, when scrolling through the LazyColumn/Row/etc, if I call removeView before the animation stops, the app start crashing.
this is the error message “Cannot start this animator on a detached view!”.
I stuck in this issue the whole day, sorry if i bother you guys 😢 . Thank you
I also asked on stackoverflow, you can see more detail there
https://stackoverflow.com/questions/75788922/jetpack-compose-with-windowmanager-cannot-start-this-animator-on-a-detached-vi