KtVolley makes using Volley easier in Kotlin and provides the ability to join multiple requests together and execute some code in a couroutine after all the requests have been completed.
Switch branches/tags
Nothing to show
Clone or download
Reed Ellsworth
Reed Ellsworth update readme
Latest commit 37a9e63 Dec 29, 2017
Permalink
Failed to load latest commit information.
gradle/wrapper initial version Dec 28, 2017
ktvolley initial version Dec 28, 2017
sample initial version Dec 28, 2017
.gitignore initial version Dec 28, 2017
LICENSE Initial commit Dec 27, 2017
README.md update readme Dec 28, 2017
build.gradle initial version Dec 28, 2017
gradle.properties initial version Dec 28, 2017
gradlew initial version Dec 28, 2017
gradlew.bat initial version Dec 28, 2017
settings.gradle initial version Dec 28, 2017

README.md

KtVolley

KtVolley makes using Volley easier in Kotlin and provides the ability to join multiple requests together and execute some code in a couroutine after all the requests have been completed. Usage is as follows:

launch {
	val job1 = bg { listener, errListener ->
	    volleyRequest1(listener, errListener)
	}
	val job2 = bg { listener, errListener ->
	    volleyRequest2(listener, errListener)
	}
	job1.await()
	job2.await()
	// both requests have finished
	// code here will execute in a background thread
}