retrofit documentation code example
Example 1: add retrofit dependency android
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
Example 2: retrofit android
def retrofit_version = "2.9.0"
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
Example 3: retrofit android
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
Example 4: retrofit
1896b99ffb244a88477b101e64ffc4be
Example 5: retrofit
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:retrofit:2.7.0'