Tag: Mocking

  • Best way to mock Retrofit Response In Android

    Best way to mock Retrofit Response In Android

    An easier way is to ask the backend developer to create the API service and just send fake content for the sake of it. The underlying notion is that we are not backend developers and it is not our responsibility to provide the endpoint. In this article, we’ll explore the option which involves using Interceptors offered by OkHttp to […]