Add sample codes for supporting ad playback using Exoplayer and PlayerAdapter
- Dominant language
- Kotlin
- Stars
- 1.3k
- Forks
- 396
- PR merge metrics
- No merged PRs in 30d
Description
Exoplayer natively supports ad playback along handling `SeekBar` and other UI elements. However, UI elements are not handled properly when using leanback components like `PlaybackSupportFragment` and `PlayerAdapter` to implement playback with Exoplayer. There is no working sample code to demonstrate how to correctly implement Exoplayer ad playback with leanback components.
Showcase app provides some example implementations of playback with Exoplayer but ad support is not implemented.
Contributor guide
Research direction
Start with the Showcase app's existing ExoPlayer playback implementation and the PlaybackSupportFragment and PlayerAdapter integration mentioned in the issue. Compare how ExoPlayer handles ad playback and UI elements with the leanback components, then add a working sample that demonstrates both. Done means the sample supports ad playback while handling the related UI correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100