Android: How do I use the Gson converter in RetroFit?

Add compile 'com.squareup.retrofit:converter-gson:2.0.0-beta2' to your build.gradlefile 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? Android: How do I use the Gson converter in RetroFit? Reviewed by Ricardo Castellanos on 16:45 Rating: 5

No hay comentarios:

Con la tecnología de Blogger.