问题
I am having a hard time in understanding the Retrofit for my App. I want to use retrofit in it but I am not understanding about it much.
Everthing is very confusing in it. Can any one help me to learn it completely I dont know how to start and from where to start
The links I have gone through while trying to learn are as follows :
- Using Retrofit 2.0 in Android
- http://www.vogella.com/tutorials/Retrofit/article.html
- http://mobilesiri.com/retrofit-tutorial-android-studio/
- http://www.androidhive.info/2016/05/android-working-with-retrofit-http-library/
- https://futurestud.io/blog/retrofit-getting-started-and-android-client
回答1:
First you have many different library you can use instead of Retrofit
, the basic one and i think the simplest is Okhttp
but you have to understand that Okhttp
is no more supported but still work when you downgrade your SDKVersion
, and you can use Volley
to perform the same service as Retrofit
来源:https://stackoverflow.com/questions/38390846/how-to-use-retrofit-in-android