StageStepBar
A staged progressbar that you can use if you want finer control of the steps in between its stages. You can customize:
- Number of steps between particular stages
- Look and feel of tracks and thumbs (stages)
- Direction and Orientation of the bar
- Animation speed (or even type in Compose)
Showcase
Best way to test how this library is configured is to check out:
- example module if you are interested in the View library.
- example-compose module if you are interested in the Compose library.
Installation
Add Jitpack distribution to the end of the repositories in your root build.gradle
file.
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add the relevant dependency to the list of dependencies in your module’s build.gradle
file
<div class="highlight highlight-source-groovy position-relative" data-snippet-clipboard-copy-content="dependencies {
// Add only this one if you want to include the View version
implementation 'com.github.loukwn.StageStepBar:stagestepbar:’
// Add only this one if you want to include the Compose version
implementation ‘com.github.loukwn.StageStepBar:stagestepbar-compose:’
}
“>
dependencies { // Add only this one if you want to include the View version implementation 'com.github.loukwn.StageStepBar:stagestepbar:' // Add only this one if you want to include the Compose version implementation 'com.github.loukwn.StageStepBar:stagestepbar-compose:' }