Skip to content

jojoyel/enhanced-progress

Repository files navigation

Enhanced Progress library Release

Description

This android library allows you to implement different types of animated progress indicators and customize them. There is currently 3 differents progress indicators available in this library :

  • ArcProgressBar
  • CircleProgressBar (derived from ArcProgressBar)
  • LinearProgressBar
  • . . . More will be added in the future

Each indicator can display multiple animated and color customizable progress on the same bar

Overview

Name Example
Linear progress bar
Arc progress bar

Usage example

Every usable composable has his Javadoc to help you quickly using it in your projects

ArcProgressBar :

ArcProgressBar(
    progress = listOf(
        ProgressData(.3f, Color.Blue),
        ProgressData(.65f, Color(0xFF00FFFF))
    ),
    radius = 70.dp,
    stroke = 5.dp,
    baseAngle = 270f,
    endAngle = 180f
)

LinearProgressBar

LinearProgressBar(
    modifier = Modifier.fillMaxWidth(.5f),
    progress = listOf(
        ProgressData(.15f, Color.Green)
    )
)

Install

The library is deployed with jitpack and ready to use in your project, just follow these few steps :

settings.gradle

dependencyResolutionManagement {
    ...
    repositories {
        ...
        maven { url 'https://jitpack.io' }       
    }
}

build.gradle (app)

dependencies {
    implementation 'com.github.jojoyel:enhanced-progress:1.0.0'
}

About

An Android Jetpack Compose module providing differents progress bars for your UIs

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages