I am using Retrofit in an Android project, and wanted to know how people structure their APIs in Retrofit.
So I have some APIs which have same base URL
, now do I place all of them in a single interface
? Or I place them depending on use case? Like Signing and Authentication goes in one, getting news feed data and doing relevant actions goes in another?
Aucun commentaire:
Enregistrer un commentaire