As a beginner in the android development. which language should i use to integrate Apis with my project.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our W3Make Forum to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
You can start with volley when learning how to make API calls in an Android App, but Retrofit is the better and efficient choice if you want to write modular and reusable code along with coroutines.
One of the best features about Retrofit2 is using OkHttp3 Logging Interceptor that helps us to identify and check API responses and request at a very detailed level.
Retrofit has a better coupled implementation with Coroutines and hence I would prefer you to use Retrofit2 even if you are a beginner.
This is a really good article on how to implement Retrofit2 to make API calls on DigitalOcean, You can give it a read and if you want any further details and you write it in the comment. I will try to answer to the best of my abilities.
https://www.digitalocean.com/community/tutorials/retrofit-android-example-tutorial