Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mplatvoet/progress

Progress for Kotlin
https://github.com/mplatvoet/progress

Last synced: 16 days ago
JSON representation

Progress for Kotlin

Awesome Lists containing this project

README

        

#Progress
Track progress for [Kotlin](http://kotlinlang.org)

[![CircleCI branch](https://img.shields.io/circleci/project/mplatvoet/progress/master.svg)](https://circleci.com/gh/mplatvoet/progress/tree/master) [![Maven Central](https://img.shields.io/maven-central/v/nl.komponents.progress/progress.svg)](http://search.maven.org/#browse%7C-300825966) [![DUB](https://img.shields.io/dub/l/vibe-d.svg)](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
```xml

nl.komponents.progress
progress
1.0.3

```