java – For each we service separate repository-ThrowExceptions

Exception or error:

I have an API for web services and a android phone.
For the communication I use Retrofit 2 and pass the parameter by class.

Should I create for each web service a separate repository or is one enough?

LoginRepository, GetProductRepository…. or XYRepository

Thanks 🙂

How to solve:

Leave a Reply

Your email address will not be published. Required fields are marked *