Release MediaPlayer by calling MediaPlayer.release() method.
Implementing video playback in a scrolled list (ListView & RecyclerView)
Danylo Volokh

It seems like Facebook and other apps don’t release resources and don’t create new instance of MediaPlayer once current video view item got hidden. Because if you scroll back and see previous video it starts playing without any visible delay (for preloading). I think they have pool of MediaPlayers of some size and release the oldest object as limit of cache is reached (LRUCache)

Show your support

Clapping shows how much you appreciated Roman Chugunov’s story.