Utilities that simplify writing android applications using reactive streams.
- Simple to use: See the examples.
- Write parts of your application without android dependencies (the application core): This simplifies testing and code reuse.
- The only dependencies you need for your application core are
violake-coreand ReactiveStreams from http://www.reactive-streams.org/
See /example.
- Much...
Why do you use publisher when providing data to GUI but do not use publishers when getting data from a view?
For example set text:
public final class SetText implements Applicator<TextView, CharSequence> {
// <...>
}You usually apply text like this:
Publisher<String> textPublisher = /* ... */;
apply(SetText.get(), view, publisher);... but when getting the text you provide a function:
void receiveChangedText(String text) {
}
apply(GetText.get(), view, this::receiveChangedText); Answer
TODO