retrofit gradle 1

retrofit gradle

implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'

Here is what the above code is Doing:
1. We are adding the Retrofit dependency.
2. We are adding the Gson converter dependency.
3. We are adding the Retrofit dependency.
4. We are adding the Gson converter dependency.

Similar Posts