This two-screen app demonstrates the use of the Media3 to play videos from Api using Pagination 3 library with search query.
- Jetpack Compose: For declarative UI
- Media3: For playing videos
- Handling switching to fullscreen in the video player
- Pagination 3: For implementing infinite scrolling and data pagination
- Retrofit: For HTTP requests
- Room: For local data caching
- Coil: For efficient image loading and caching
- Dagger-Hilt: For dependency-injection.
- PixaBay - API
JetpackVideoPlayer.mp4
- Create a file named api_key.properties
- Add the following key-value pair to the file: API_KEY=YOUR_API_KEY