Relative Content

Tag Archive for androidandroid-jetpack-composeexoplayer2.x

Jetpack compose, ExoPlayer is destroyed late when changing the screen

To create a video player in Jetpack compose, I use ExoPlayer2. The problem is this – there is screen 1 on which the video player is located and screen 2. When switching from screen 1 to screen 2, the video player screen is displayed on screen 2 for about a second and only then disappears.