Java_MVVM_with_Swing_and_RxJava_Examples
Java_MVVM_with_Swing_and_RxJava_Examples copied to clipboard
Explorative Java Swing GUI example code from 2016 with an implementation of MVVM (Model View ViewModel) using RxJava and RxSwing. DON'T use it in production, there are some open issues here!
I came to the insight, that the Flux/Redux Pattern is "better than" MVVM. The main point is a better understanding/debugging of the flow of events. In MVVM we have typically...
When a subscriber throws an exception during onNext, the subscriber will be unsubscribed and will not receive any more values (RxJava 1.x). Example code: private void wireInternally() { v2vm_submitButtonEvents .map(actionEvent...
AsyncUtils is kind of "imperative". This is in contrast of the "lazy" nature of RxJava. In RxJava nothing happens until there is a subscriber. Therefore: To have cleaner examples, I...