oday
01/16/2019, 2:51 PMclass GetHotDeals @Inject constructor(
private val repository: Repository,
postExecutionThread: PostExecutionThread
) : ObservableUseCase<List<SaleCars>, Nothing?>(postExecutionThread) {
override fun buildUseCaseObservable(params: Nothing?): Observable<List<SaleCars>> {
return repository.getHotDeals()
}
}