SyntaxFix
Write A Post
Hire A Developer
Questions
Also you can only set mediaPlayer.reset() and in onDestroy set it to release.
mediaPlayer.reset()
onDestroy