getsadzeg getsadzeg - 10 months ago 45
Android Question

What happened to some directories in retrofit 2?

In retrofit 1.9.0, there were these directories and some classes in them:

enter image description here

And now in retrofit 2.2.0, there is only 'http'. No 'mime', 'converter', etc.

Am I doing something wrong or are they just restructured or something?


In retrofit 2 they changed project structure. So now convertes and other components are provided as separate modules.

Here is a link for migration : upgrade guide from 1.9

Also read this : The biggest update yet on the best HTTP Client Library for Android