mplatvoet / progress

Progress for Kotlin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Progress for Kotlin

License:MIT License


Languages

Language:Kotlin 98.6%Language:Shell 1.4%