Hi everyone, I currently have a list of objects stored in my ViewModel state which has paths of videos for e.g. [{"filename1.mp4", [000500, 011500]}, {"filename2.mp4", [001000, 002500]}]. How can I play one video after another using Compose?
t
Trym Nilsen
11/30/2022, 1:02 PM
What have you tried so far?
a
Abdul Moeed
11/30/2022, 1:26 PM
I have a VideoPlayer composable, I can play one video, I do not understand how I can track the end of that video and then figure out a way to recompose the VideoPlayer
z
Zun
11/30/2022, 3:31 PM
In ExoPlayer you can send a list of videos. I think it’s called a MediaItem
Zun
11/30/2022, 3:31 PM
There’s no need to recompose anything
z
Zach Klippenstein (he/him) [MOD]
11/30/2022, 11:32 PM
yea there’s nothing compose-specific about this question