data class Props
Make default where cache not too old (make cache last fetched now) to give OnlineRepository the minimum amount of interactions. There must be some last fetched time because cache does exist!
Props(lastFetched: Date? = null, cacheTooOld: Boolean = false, cacheNotTooOld: Boolean = true)
Make default where cache not too old (make cache last fetched now) to give OnlineRepository the minimum amount of interactions. There must be some last fetched time because cache does exist! |
val cacheNotTooOld: Boolean |
|
val cacheTooOld: Boolean |
|
val lastFetched: Date? |