Using Viewpager with MediaPlayer
问题 I'm trying to use a viewpager with a mediaplayer and i'm running into some issues. My app is set up where you click on a video in the gridview and then when the screen becomes visable it will start playing the video. When I first open up the video it plays fine. The viewpager works for two pages to the left or right. However when I go over that the app freezes up and crashes. I set up some logs and I found in my pageradapater class, right after setPrimaryItem is called there is an