Skip to content

Latest commit

 

History

History
57 lines (34 loc) · 1.2 KB

File metadata and controls

57 lines (34 loc) · 1.2 KB

Violake

Utilities that simplify writing android applications using reactive streams.

Features

  • 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-core and ReactiveStreams from http://www.reactive-streams.org/

Example

See /example.

Screens

example screens

TODO

  • Much...

Questions and Answers

Data from view is not observable?

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