https://github.com/mplatvoet/progress
Progress for Kotlin
https://github.com/mplatvoet/progress
Last synced: 3 months ago
JSON representation
Progress for Kotlin
- Host: GitHub
- URL: https://github.com/mplatvoet/progress
- Owner: mplatvoet
- License: mit
- Created: 2015-04-25T19:01:41.000Z (about 10 years ago)
- Default Branch: develop
- Last Pushed: 2018-08-10T17:24:04.000Z (almost 7 years ago)
- Last Synced: 2025-03-26T07:11:08.687Z (4 months ago)
- Language: Kotlin
- Size: 521 KB
- Stars: 20
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#Progress
Track progress for [Kotlin](http://kotlinlang.org)[](https://circleci.com/gh/mplatvoet/progress/tree/master) [](http://search.maven.org/#browse%7C-300825966) [](https://github.com/mplatvoet/progress/blob/master/LICENSE)
Please refer to [progress.komponents.nl](http://progress.komponents.nl) for more information
```kt
//private part
val control = Progress.control()//public part
val progress = control.progress//get notified on updates
progress.update {
println("${value}")
}//set value
control.value = 0.25
control.value = 0.50
control.value = 0.75
control.value = 1.0
```## Getting started
This version is build against Kotlin: `1.0.3`.###Gradle
```groovy
dependencies {
compile 'nl.komponents.progress:progress:1.0.3'
}
```###Maven
```xmlnl.komponents.progress
progress
1.0.3```