Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Slider Composable for the Jetpack Compose UI-toolkit for Android Application Development

License

cybercoder-naj/sliding-bar

Repository files navigation

sliding-bar

View Releases and Changelog

MIT License JitPack Build

Slider Composable for the Jetpack Compose UI-toolkit for Android Application Development

Demo

Installation

Add JitPack url to your settings.gradle file

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

And the dependency in your app build.gradle file

 dependencies {
 implementation "com.github.cybercoder-naj:sliding-bar:$version"
 }

Usage/Examples

Remember to add the @ExperimentalComposeUiApi annotation to your class/function.

SlidingBar(
 value = value,
 onValueChanged = { value = it },
 modifier = Modifier
 .padding(horizontal = 64.dp)
 .fillMaxWidth(),
 colors = SlidingBarDefaults.colors(
 colorPrimary = Color.Green,
 colorTrack = Color.Blue
 ),
 valueRange = 0f..30f,
 stepSize = 1f
)

Contributing

Contributions are always welcome!

See CONTRIBUTING.md for ways to get started.

License

MIT

About

Slider Composable for the Jetpack Compose UI-toolkit for Android Application Development

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Languages

AltStyle によって変換されたページ (->オリジナル) /