I am working on an android application. I want to ...
# server
a
I am working on an android application. I want to call restful apis to my application. There are many different libraries which we can use (like, retrofit, volley, okhttp, etc) I am confused which one should I use Any suggestions ??
r
okhttp is nice. check out kohttp(https://github.com/rybalkinsd/kohttp) as well, it's a DSL wrapper of okhttp. these are convenient, but I never use them in android dev, so I have no idea about whether these fits your situation or not.
a
1. Retrofit/OkHttp combination is the most used actually 2. This question should be in #android, don't you think??
☝️ 1
e
You should take a look at Ktor client!
👍 4
m
https://guides.codepath.com/android#networking-and-models check out this website. It explains every library in detail. I use Volley for my projects, it requires lots of configuration tho for different types of requests. Check them out, play with them.
I never used retrofit, but they say it is easier to configure than volley. Hope it helps
j
🤔 Volley is still being maintained?
a
Just use any http client - retrofit is overhyped
v
Retrofit -- I find it really simple to configure and start.