Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Volley with Kotlin coroutines #279

Open
Bradleycorn opened this issue Jul 3, 2019 · 2 comments
Open

Integrate Volley with Kotlin coroutines #279

Bradleycorn opened this issue Jul 3, 2019 · 2 comments
Milestone

Comments

@Bradleycorn
Copy link

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.

@jpd236 jpd236 added this to the 1.2.0 milestone Jul 8, 2019
@jpd236
Copy link
Collaborator

jpd236 commented Jul 8, 2019

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.

@crocsandcoffee
Copy link

crocsandcoffee commented Jan 16, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants