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

25 de diciembre de 2021
Posted in Tutorials
25 de diciembre de 2021 ricardo
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'
, ,

Get Connected.

We welcome you to contact us for more information
about any of our products or services.

Let’s Talk About Your Project

Build a stronger connection with your users through memorable mobile experiences.

Let’s Talk About Your Idea

Give users the outstanding mobile experience they deserve.

Let’s Talk About Your Content

Stunning apps to grow and enrich your business.

made with ❤️