The idea is that now you can create your own custom UI and give to TubiPlayer without have to understand the business logic, the player will display your UI instead. There is an object that you can get from DoublePlayerActivity, "getPlayerController()" returns the controller logic that you can hook up with your custom UI.
Three steps to give custom control UI to the TubiPlayer:
create your own UI
get the "UserController" from DoublePlayerActivity using getPlayerController(), then hookup your UI with logic
finally, give your custom UI back to the DoublePlayerActivity by overriding addUserInteractionView() in the Activity.
Separate Control logic from UI in TubiPlayer:
The idea is that now you can create your own custom UI and give to TubiPlayer without have to understand the business logic, the player will display your UI instead. There is an object that you can get from DoublePlayerActivity, "getPlayerController()" returns the controller logic that you can hook up with your custom UI.
Three steps to give custom control UI to the TubiPlayer:
Then everything will work