<Convert Observable of one type to another> I have...
# stackoverflow
u
Convert Observable of one type to another I have the following code class CurrencyRepository @Inject constructor(val apiInterface: ApiInterface, val ratesDao: RatesDao) { fun getRates(): Observable { val observableFromApi = getCurrencyFromApi() val observableFromDb = getRatesFromDb() return Observable.concatArrayEager(observableFromApi , observableFromDb) } private fun getCurrencyFromApi(): Observable { return apiInterface.getRates()...