Reputation: 5354
I am trying out the Volley networking library i would like to switch to using the OKhttp jar with volley i just cannot work out how to configure volley to use this alternative http provider. what am i missing?
Upvotes: 0
Views: 3113
Reputation: 14389
I recommend you to use and OkHttpStack like this one that does not use okhttp-urlconnection.
I've written an article about using OkHttp, Volley and Gson for Android networking that you might find interesting.
Upvotes: 1
Reputation: 14367
Check out jake wharton's HttpStack
implementation for Volley that uses OkHttp as its transport.
https://gist.github.com/JakeWharton/5616899
Upvotes: 2