Implement "unviewed only" mode for story viewer.

This commit is contained in:
Alex Hart
2022-06-24 14:14:13 -03:00
committed by Cody Henthorne
parent 89a6730efe
commit 858c7a7f2e
13 changed files with 91 additions and 34 deletions

View File

@@ -19,7 +19,7 @@ class RxStore<T : Any>(
private val actionSubject = PublishSubject.create<(T) -> T>().toSerialized()
val state: T get() = behaviorProcessor.value!!
val stateFlowable: Flowable<T> = behaviorProcessor
val stateFlowable: Flowable<T> = behaviorProcessor.onBackpressureLatest()
init {
actionSubject