fun getCryptocurrenciesFromDb(): Observable<List<CryptoCurrency>> { return cryptocurrenciesDao.queryCryptocurrencies() .toObservable() .doOnNext { //Print log it.size :) Log.e("REPOSITORY DB *** ", it.size.toString()) } }
fun getCryptocurrenciesFromDb(): Observable<List> {
return cryptocurrenciesDao.queryCryptocurrencies()
.toObservable()
.doOnNext {
//Print log it.size :)
Log.e("REPOSITORY DB *** ", it.size.toString())
}
}