Skip to content

mplatvoet/progress

Repository files navigation

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