KotStep v2.3.0 🎉
Release Date: January 8, 2025
KotStep 2.3.0 is here with exciting new features to enhance your step-based UI components. This release introduces Story View Progress Style called Fleet, inspired by Instagram Stories, along with several customizations and interactive functionalities to take your app’s UX to the next level. 🚀
🚀 Features
🖼️ Story View Progress Style - Fleet
Add smooth, dynamic progress bars similar to Instagram or WhatsApp Stories.
🔄 Callbacks for Interactivity
onStepComplete
: Trigger specific actions when a step completes.onStepClick
: Enable click events for individual steps.
⏸️ Pause & Resume Progress
Control step progress dynamically with the isPlaying
flag. Pause or resume progress just like Instagram’s hold-to-pause feature.
🔧 How to Use
Example Usage: Fleet Progress Style
HorizontalStepper(
style = fleet(
totalSteps = 3,
currentStep = 1,
stepStyle = stepStyle,
isPlaying = isPlaying,
duration = listOf(10_000L, 5_000L, 30_000L),
onStepComplete = {
// Do something ...
if (currentStep < totalSteps) {
currentStep++
}
}
)
) { stepClicked ->
// Do something ...
}
📥 Installation
Update your Gradle dependency:
dependencies {
implementation("com.github.binayshaw7777:KotStep:$currentVersion")
}
❤️ Contributions
Feedback and Suggestions are always welcome. Please check Issues and feel free to create one.
Thank you for supporting KotStep! Build amazing step-based components effortlessly. ✨
Docs are yet to be added.
Fyi: The implementation is almost same as other Steppers in the Readme file. Thanks. 😄