I am trying to layer a VideoPlayer Composable ( us...
# compose
s
I am trying to layer a VideoPlayer Composable ( uses Android view exoplayer) in a Box() layout. ---- Video 3 (on top) ------Video 2 Now video 3 is deleted and video 1 is added to the list ---- Video 2 --- Video 1 However, exoplayer doesn’t recognise that and starts previeing Video 1 (composed at last ) on top of the Stack. I have also noticed another issue where exoplayer starts previewing on top of a Modal Bottom Sheet (which is always at top of the Box). Replacing the
AndroidView
with any other composable like
Text
fixes the problem. are there any workarounds around this?