NetworkBoundResource helper class without Room
When I tried to implements the NetworkBoundResource and Resource helper class for the Room Db and Retrofit, it works perfect. However, I need to implement the Search Result from RESTful using Retrofit only without Room . The Resources class is good and I dont need to change it. What I want to do is try to remove db source inside this class. public abstract class NetworkBoundResource<ResultType, RequestType> { private final AppExecutors appExecutors; private final MediatorLiveData<Resource<ResultType>> result = new MediatorLiveData<>(); @MainThread public NetworkBoundResource(AppExecutors