Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Weather App (2015) Networking Introducing OkHttp

Liliana Barrios
Liliana Barrios
6,762 Points

OkHttp

is OkHttp still recommended as http library? or is there already a better solution?

2 Answers

jenyufu
jenyufu
3,311 Points

It depends on what you need in your app, for this app, OkHttp is still the recommended library. A lot of developers still use OkHttp because it is lightweight and gets the job done.

Liliana,

I'm not the expert but everything I read points to Volley or Retrofit. Here is the best article I've found on the subject, however it is almost 2 years old and we all know how fast technology changes. I just haven't been able to locate anything any better.

http://instructure.github.io/blog/2013/12/09/volley-vs-retrofit/

Good luck!

Ron