THEOplayer / android-ui

UI component library for the THEOplayer Android SDK
https://www.theoplayer.com/docs/open-video-ui/android/
MIT License
8 stars 2 forks source link

Add `rememberPlayer(THEOplayerView)` #40

Closed MattiasBuelens closed 2 months ago

MattiasBuelens commented 2 months ago

Currently, the UI always creates its own THEOplayerView:

This adds a new overload rememberPlayer(THEOplayerView), which wraps an existing THEOplayerView in a Player rather than creating a new one. This makes it easier to add integrations upfront, or to remove the UI without removing the player.