public class ReactorExtKt
| Modifier and Type | Method and Description |
|---|---|
static <State> io.reactivex.disposables.Disposable |
bind(io.reactivex.Observable<State> $receiver)
Binds an observable to the UI. Also logs errors in
class AndroidReactor. |
static <State> io.reactivex.disposables.Disposable |
bind(io.reactivex.Observable<State> $receiver,
io.reactivex.functions.Consumer<? super State> to)
Binds an observable to a UI target. Also logs errors in
class AndroidReactor. |
static <State> io.reactivex.disposables.Disposable |
bind(io.reactivex.Observable<State> $receiver,
kotlin.jvm.functions.Function1<? super State,kotlin.Unit> to)
Binds an observable to a UI target. Also logs errors in
class AndroidReactor. |
static <State,SubState> |
changesFrom(io.reactivex.Observable<State> $receiver,
kotlin.jvm.functions.Function1<? super State,? extends SubState> mapper)
Maps changes from a State Observable and only emits those that are distinct from their immediate predecessors.
|
static <Action> io.reactivex.disposables.Disposable |
consume(io.reactivex.Observable<Action> $receiver,
Reactor<? super Action,?,?> with)
Consumes a
interface Reactor Action with the corresponding interface Reactor. |
public static <Action> io.reactivex.disposables.Disposable consume(io.reactivex.Observable<Action> $receiver,
Reactor<? super Action,?,?> with)
Consumes a interface Reactor Action with the corresponding interface Reactor.
interface Reactor,
interface Reactorpublic static <State,SubState> io.reactivex.Observable<? extends SubState> changesFrom(io.reactivex.Observable<State> $receiver,
kotlin.jvm.functions.Function1<? super State,? extends SubState> mapper)
Maps changes from a State Observable and only emits those that are distinct from their immediate predecessors.
public static <State> io.reactivex.disposables.Disposable bind(io.reactivex.Observable<State> $receiver)
Binds an observable to the UI. Also logs errors in class AndroidReactor.
class AndroidReactorpublic static <State> io.reactivex.disposables.Disposable bind(io.reactivex.Observable<State> $receiver,
io.reactivex.functions.Consumer<? super State> to)
Binds an observable to a UI target. Also logs errors in class AndroidReactor.
class AndroidReactorpublic static <State> io.reactivex.disposables.Disposable bind(io.reactivex.Observable<State> $receiver,
kotlin.jvm.functions.Function1<? super State,kotlin.Unit> to)
Binds an observable to a UI target. Also logs errors in class AndroidReactor.
class AndroidReactor