Skip navigation links
A B C D F G H I M O R S T V 

A

accept() - Method in class at.florianschuster.androidreactor.ActionRelay
 
ActionRelay<T> - Class in at.florianschuster.androidreactor
Subject that only emits onNext events aka a Relay Reference: https://github.com/JakeWharton/RxRelay/
ActionRelay() - Constructor for class at.florianschuster.androidreactor.ActionRelay
 
AndroidReactor - Class in at.florianschuster.androidreactor
Object to handle Library initializations.
APPLICATION_ID - Static variable in class at.florianschuster.androidreactor.BuildConfig
 
at.florianschuster.androidreactor - package at.florianschuster.androidreactor
 

B

bind($receiver) - Static method in class at.florianschuster.androidreactor.ReactorExtKt
Binds an observable to the UI. Also logs errors in class AndroidReactor.
bind($receiver, to) - Static method in class at.florianschuster.androidreactor.ReactorExtKt
Binds an observable to a UI target. Also logs errors in class AndroidReactor.
bind($receiver, to) - Static method in class at.florianschuster.androidreactor.ReactorExtKt
Binds an observable to a UI target. Also logs errors in class AndroidReactor.
bind(reactor) - Method in interface at.florianschuster.androidreactor.ReactorView
Binds a Reactor to a View. Use this in:
BUILD_TYPE - Static variable in class at.florianschuster.androidreactor.BuildConfig
 
BuildConfig - Class in at.florianschuster.androidreactor
 

C

changesFrom($receiver, mapper) - Static method in class at.florianschuster.androidreactor.ReactorExtKt
Maps changes from a State Observable and only emits those that are distinct from their immediate predecessors.
consume($receiver, with) - Static method in class at.florianschuster.androidreactor.ReactorExtKt
Consumes a interface Reactor Action with the corresponding interface Reactor.
createStateStream() - Method in interface at.florianschuster.androidreactor.Reactor
Creates the State stream by transforming the class ActionRelay to a State observable.
createStateStream($this) - Static method in class at.florianschuster.androidreactor.Reactor.DefaultImpls
Creates the State stream by transforming the class ActionRelay to a State observable.

D

DEBUG - Static variable in class at.florianschuster.androidreactor.BuildConfig
 

F

FLAVOR - Static variable in class at.florianschuster.androidreactor.BuildConfig
 

G

getAction() - Method in interface at.florianschuster.androidreactor.Reactor
The Action from the view. Bind user inputs to this relay.
getAction() - Method in class at.florianschuster.androidreactor.ViewModelReactor
The Action from the view. Bind user inputs to this relay.
getCurrentState() - Method in interface at.florianschuster.androidreactor.Reactor
The current State. This value is changed just after the state stream emits a new State.
getCurrentState() - Method in class at.florianschuster.androidreactor.ViewModelReactor
The current
getDisposables() - Method in interface at.florianschuster.androidreactor.Reactor
The CompositeDisposable that contains the State Stream disposable.
getDisposables() - Method in interface at.florianschuster.androidreactor.ReactorView
The CompositeDisposable that contains all view subscriptions.
getDisposables() - Method in class at.florianschuster.androidreactor.ViewModelReactor
The CompositeDisposable that contains the State Stream disposable.
getInitialState() - Method in interface at.florianschuster.androidreactor.Reactor
The initial State.
getInitialState() - Method in class at.florianschuster.androidreactor.ViewModelReactor
The initial
getObserverCount() - Method in class at.florianschuster.androidreactor.ActionRelay
 
getReactor() - Method in interface at.florianschuster.androidreactor.ReactorView
The Reactor that binds to the View.
getState() - Method in interface at.florianschuster.androidreactor.Reactor
The State stream. Use this observable to observe the state changes.
getState() - Method in class at.florianschuster.androidreactor.ViewModelReactor
The State stream. Use this observable to observe the state changes.

H

handleErrorsWith(crashInDebug, handler) - Method in class at.florianschuster.androidreactor.AndroidReactor
Handles error messages, which are swallowed by the state stream by default.

I

INSTANCE - Static variable in class at.florianschuster.androidreactor.AndroidReactor
Object to handle Library initializations.

M

mutate($this, action) - Static method in class at.florianschuster.androidreactor.Reactor.DefaultImpls
Commits mutation from the Action. This is the best place to perform side-effects such as async tasks.
mutate(action) - Method in interface at.florianschuster.androidreactor.Reactor
Commits mutation from the Action. This is the best place to perform side-effects such as async tasks.
mutate(action) - Method in class at.florianschuster.androidreactor.SimpleViewModelReactor
Commits mutation from the Action. This is the best place to perform side-effects such as async tasks.

O

onCleared() - Method in class at.florianschuster.androidreactor.ViewModelReactor
 

R

Reactor<Action,Mutation,State> - Interface in at.florianschuster.androidreactor
A Reactor is an UI-independent layer which manages the state of a view. The foremost role of a interface Reactor is to separate control flow from a view. Every view has its corresponding interface Reactor and delegates all logic to its interface Reactor. A interface Reactor has no dependency to a view, so it can be easily tested.
Reactor.DefaultImpls - Class in at.florianschuster.androidreactor
A Reactor is an UI-independent layer which manages the state of a view. The foremost role of a interface Reactor is to separate control flow from a view. Every view has its corresponding interface Reactor and delegates all logic to its interface Reactor. A interface Reactor has no dependency to a view, so it can be easily tested.
ReactorExtKt - Class in at.florianschuster.androidreactor
 
ReactorView<R extends Reactor<?,?,?>> - Interface in at.florianschuster.androidreactor
A ReactorView displays data. The view binds user inputs to the action stream and binds the view states to each UI component. There's no business logic in a view layer. A view just defines how to map the action stream and the state stream.
reduce($this, state, mutation) - Static method in class at.florianschuster.androidreactor.Reactor.DefaultImpls
Generates a new state with the previous State and the Action. It should be purely functional so it should not perform any side-effects here. This method is called every time when the Mutation is committed.
reduce(state, mutation) - Method in interface at.florianschuster.androidreactor.Reactor
Generates a new state with the previous State and the Action. It should be purely functional so it should not perform any side-effects here. This method is called every time when the Mutation is committed.

S

setCurrentState(p) - Method in interface at.florianschuster.androidreactor.Reactor
The current State. This value is changed just after the state stream emits a new State.
setCurrentState(p) - Method in class at.florianschuster.androidreactor.ViewModelReactor
The current
SimpleViewModelReactor<Action,State> - Class in at.florianschuster.androidreactor
A simple ViewModel Reactor that can be used when there is no need for a Mutation.
SimpleViewModelReactor(initialState) - Constructor for class at.florianschuster.androidreactor.SimpleViewModelReactor
A simple ViewModel Reactor that can be used when there is no need for a Mutation.
subscribeActual() - Method in class at.florianschuster.androidreactor.ActionRelay
 

T

transformAction($this, action) - Static method in class at.florianschuster.androidreactor.Reactor.DefaultImpls
Transforms the Action. Use this function to combine with other observables. This method is called once before the state stream is created.
transformAction(action) - Method in interface at.florianschuster.androidreactor.Reactor
Transforms the Action. Use this function to combine with other observables. This method is called once before the state stream is created.
transformMutation($this, mutation) - Static method in class at.florianschuster.androidreactor.Reactor.DefaultImpls
Transforms the Mutation stream. Implement this method to transform or combine with other observables. This method is called once before the state stream is created.
transformMutation(mutation) - Method in interface at.florianschuster.androidreactor.Reactor
Transforms the Mutation stream. Implement this method to transform or combine with other observables. This method is called once before the state stream is created.
transformState($this, state) - Static method in class at.florianschuster.androidreactor.Reactor.DefaultImpls
Transforms the State stream. Use this function to perform side-effects such as logging. This method is called once after the state stream is created.
transformState(state) - Method in interface at.florianschuster.androidreactor.Reactor
Transforms the State stream. Use this function to perform side-effects such as logging. This method is called once after the state stream is created.

V

VERSION_CODE - Static variable in class at.florianschuster.androidreactor.BuildConfig
 
VERSION_NAME - Static variable in class at.florianschuster.androidreactor.BuildConfig
 
ViewModelReactor<Action,Mutation,State> - Class in at.florianschuster.androidreactor
Abstract Reactor implementing ViewModel. It handles action and state creation and clearing of the state observable.
ViewModelReactor(initialState, currentState) - Constructor for class at.florianschuster.androidreactor.ViewModelReactor
Abstract Reactor implementing ViewModel. It handles action and state creation and clearing of the state observable.
ViewModelReactorKt - Class in at.florianschuster.androidreactor
 
A B C D F G H I M O R S T V 
Skip navigation links