Closed vvsevolodovich closed 5 years ago
There is not such interface or class Cache in the library. However the example suggests the following:
val coroutines: Cache = CoroutinesCache(cacheParams: CacheParams, scope: CoroutineScope) This should be changed to
val coroutines: Cache = CoroutinesCache(cacheParams: CacheParams, scope: CoroutineScope)
val coroutines: CoroutinesCache = CoroutinesCache(cacheParams: CacheParams, scope: CoroutineScope)
or simply val cache = CoroutinesCache(cacheParams: CacheParams, scope: CoroutineScope)
val cache = CoroutinesCache(cacheParams: CacheParams, scope: CoroutineScope)
Related to doc: Provide the data from RxCache We do not have RxCache here :)
Provide the data from RxCache
RxCache
Fixed it in last pull request
There is not such interface or class Cache in the library. However the example suggests the following:
val coroutines: Cache = CoroutinesCache(cacheParams: CacheParams, scope: CoroutineScope)
This should be changed toval coroutines: CoroutinesCache = CoroutinesCache(cacheParams: CacheParams, scope: CoroutineScope)
or simply
val cache = CoroutinesCache(cacheParams: CacheParams, scope: CoroutineScope)