(View)Playback lifecycle

ViewPlayback = Playback whose container is a View (normally it is a ViewGroup).


onAdd

We can consider to setup the callbacks.

onRemove


onAttach

When a ViewPlayback is attached, the bind request is executed.

onDetach

If the Playback was prepared and started, this method should unload the Playable resource. This action should be done after saving the latest playback information.


onActivate

onDeactivate


onStarted

Called when the media started playing. For dynamic renderer Playbacks, this is when it should attach the renderer to the container.

onPaused

Called when the media paused. For dynamic renderer Playbacks, this is when it should detach the renderer from the container.