Starts with an empty set as database
This commit is contained in:
@@ -762,7 +762,7 @@ object LocalCache {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class LocalCacheLiveData : LiveData<Set<Note>>() {
|
class LocalCacheLiveData : LiveData<Set<Note>>(setOf<Note>()) {
|
||||||
|
|
||||||
// Refreshes observers in batches.
|
// Refreshes observers in batches.
|
||||||
private val bundler = BundledInsert<Note>(300, Dispatchers.Main)
|
private val bundler = BundledInsert<Note>(300, Dispatchers.Main)
|
||||||
|
|||||||
Reference in New Issue
Block a user