how to use Retrofit in Android? [closed]

南楼画角 提交于 2019-12-14 03:32:51

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!