Open Bradleycorn opened 5 years ago
I'm definitely open to ways to make Volley interop with Kotlin better, as long as doing so does not introduce a new dependency on the Kotlin runtime for Java-only Volley users, and as long as it can be achieved in a mostly-additive way on top of the existing library rather than requiring significant changes to Volley's structuring.
If someone would like to make a proposal for what this would look like, I'd be happy to review. I'm not personally deeply familiar with Kotlin/Java interop though I'm lightly familiar with Kotlin. Otherwise, it may be a while before we get to this.
Any update on this feature request? With the high adoption of kotlin + coroutines it would be nice if volley had coroutines support. I would prefer to use Volley over Retrofit for many use cases but the lack of coroutines makes it a difficult decision. Especially now with all all the different lifecycle and architecture components such as ViewModel, LiveData, Flow, etc
It would be awesome if volley exposed a set of
suspend
functions for making requests that work well with Kotlin coroutines. Sure I can roll my own solution, but it would be awesome to have an officially supported one.