Skip to content

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