LouisDuboscq Jukebox Save

Android library that helps you focusing on your audio UI and manages independently media player under the hood

Project README

What is Jukebox

A lighweight 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.

The focus is on flexibility to change loading, error and audio views.

Setup

Gradle dependencies

maven { url 'https://jitpack.io' }
implementation("com.github.LouisDuboscq:Jukebox:0.5")

What can I do with Jukebox

Launch the Jukebox composable with the minimal parameters and get ready to use slider and audio player.

jukebox simple

slider

Customize audio view :

jukebox custom

circular and actions

custom_style

Customize loading view :

loading

Customize error view :

custom_error error_404

Call play and pause, the commands understood by Jukebox

commands

Set play when ready

By default, Jukebox does not play your audio when the media player has finished preparing it. You can force him to play when it's ready :

Jukebox(
    uri = uri,
    playWhenReady = true,
    commands = commands.receiveAsFlow()
)

Sample

There's a sample to show you how to use Jukebox:

sample

Open Source Agenda is not affiliated with "LouisDuboscq Jukebox" Project. README Source: LouisDuboscq/Jukebox
Stars
56
Open Issues
0
Last Commit
1 year ago

Open Source Agenda Badge

Open Source Agenda Rating