How geoffledak/exoplayerfullscreen works
ExoplayerFullscreen is a small Android sample demonstrating HLS playback and a fullscreen toggle. The principal workflow is opening the activity, playing the configured stream, and moving the player view into or out of a fullscreen dialog; the activity also saves playback position and fullscreen state across lifecycle changes. Source confirms the activity behavior, but the layout contents and dependency configuration were not sampled, so their detailed wiring is not inferred.
Main entry points: MainActivity.java Main activity · exo_simple_player_view.xml Player view · activity_main.xml Activity layout · exo_playback_control_view.xml Playback controls
Components 6
Playback and lifecycle
- Main activity
app/src/main/java/com/geoffledak/exoplayerfullscreen/MainActivity.java - Player view
app/src/main/res/layout/exo_simple_player_view.xml
Fullscreen interface
- Activity layout
app/src/main/res/layout/activity_main.xml - Playback controls
app/src/main/res/layout/exo_playback_control_view.xml
Other components
- Viewer
- HLS media origin
Connections 5
- Viewer → Main activity: opens and operates
- Main activity → Activity layout: sets content view
- Main activity → Player view: configures player
- Player view → Playback controls: provides controls
- Main activity → HLS media origin: requests HLS stream