How to fix animation bug?
I have a VideoView (circle) and custom animation (Falling cards) on the screen, in Fragment, as in the screenshot:
https://i.stack.imgur.com/p8YES.pngā¾
I haven't figured out how to do it any other way, so I've inserted four CardViews, and I'm scrolling through them using AnimationUtils. In code it looks like this:
onViewCreated()
viewLifecycleOwner.lifecycleScope.launch {
// withContext(Dispatchers.Main) {
startAnimation()
//...