Tired of spending hours coding your media player? Let Jukebox handle it for you - so you can focus on what you do best: building beautiful UIs with Jetpack Compose!
Introducing Jukebox, an android library that helps you focusing on your audio UI and manages independently media player under the hood.
It’s built on top of jetpack compose and media player. And the focus is on flexibility to change loading, error and audio views.
Here’s more infos on it :
Launch the Jukebox composable with the minimal parameters and get ready to use slider and audio player.
Here’s the result
As I said, the goal is to provide an abstraction of audio management and easy to customize audio view.
Here’s how to change the audio view :
And here’s the result :
These two views, slider and circular loading with action buttons are just sample but you can build anything you want.
If you want to take a look at the Jukebox definition, here it is :
Here’s how to call play and pause, which are the commands understood by Jukebox :
The library is not released yet and I only share my own stuff for now.
If you are interested please show your interest in replies.
I frequently share things related to mobile dev (compose, kmm mainly but from time to time swiftUI too) so if you are interested make sure to follow me. You can find me on Twitter here.