Mentain VideoView state in ViewPager fragment in android

Viewed 13

I have some problem with maintaining VideoView state in ViewPager fragment , when I scroll fragment A to fragment B than video will stop from fragment A, and when I back to fragment A than VideoView state will be destroyed and video again start from scratch.

I just want to Pause video from fragment A when I scroll fragment B , when I back to fragment A than video should be resume where wo left the video.

I need solution of this if anyone can helps me.

0 Answers
Related