[REQUIRED] Use case description
I want to be able to stop playback when exiting a screen. For example:
controller.stop()
controller.seekTo(0)
controller.release()
The problem here is that calling release() causes stop() and seekTo() to be dropped, so they never happen.
Proposed solution
release() should dispatch existing messages first, or there should be a clear way to not have the messages dropped. The current behavior is non-intuitive.
Alternatives considered
A clear and concise description of any alternative solutions you considered,
if applicable.
Handler.postDelayed({ controller.release }, 100)