Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mplatvoet/progress
Progress for Kotlin
https://github.com/mplatvoet/progress
Last synced: 16 days 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 (over 9 years ago)
- Default Branch: develop
- Last Pushed: 2018-08-10T17:24:04.000Z (over 6 years ago)
- Last Synced: 2024-04-16T07:26:09.405Z (8 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)[![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
```xmlnl.komponents.progress
progress
1.0.3```