Progress for Kotlin
Kotlin Shell
Latest commit f57d088 Jun 30, 2016 @mplatvoet Updated to kotlin 1.0.3
Permalink
Failed to load latest commit information.
docs Updated to kotlin 1.0.3 Jun 30, 2016
gradle/wrapper Updated to kotlin 1.0.3 Jun 30, 2016
projects Updated to latest ABI version Oct 19, 2015
.gitignore
LICENSE initial commit Apr 25, 2015
README.md Updated to kotlin 1.0.3 Jun 30, 2016
build.gradle Updated to kotlin 1.0.3 Jun 30, 2016
circle.yml
gradlew
gradlew.bat
publish.sh removed redundant folders May 23, 2015
settings.gradle

README.md

Progress

Track progress for Kotlin

CircleCI branch Maven Central DUB

Please refer to progress.komponents.nl for more information

//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

dependencies {
    compile 'nl.komponents.progress:progress:1.0.3'
}

Maven

<dependency>
    <groupId>nl.komponents.progress</groupId>
    <artifactId>progress</artifactId>
    <version>1.0.3</version>
</dependency>