I have video views within a listview. While playing video at that time if I scroll up and down the list view, video view behaves abnormally . It seems that video views jumping up and down. Please response against this problem.
The video is drawn onto a SurfaceView which runs in its own thread and is not synchronized with the UI, this is why it jumps around in your list while being scrolled.
There are other answers that cover this question here and here.
A workaround is that if your videos have no sound and are not too large, you can use an AnimationDrawable and a series of images or frames from your video. Load the frames using an AsyncTask and start the animation in onPostExecute.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With