Android: How do I use the Gson converter in RetroFit?
Add
compile 'com.squareup.retrofit:converter-gson:2.0.0-beta2'
to your build.gradle
file and get the dependency resolved or add corresponding jars to your bulid path.
then use
GsonConverterFactory.create()
to get the Converter Factory
Try this with retrofit 2:
compile 'com.squareup.retrofit2:converter-gson:2.0.0-beta4'
Android: How do I use the Gson converter in RetroFit?
Reviewed by Ricardo
on
16:45
Rating:
No hay comentarios: