File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/main/java/ch/petikoch/examples/mvvm_rxjava/example6 Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -92,11 +92,11 @@ public void connectTo(final Example_6_Model model) {
9292 finishedIndicator -> vm2v_resultat2 .onNext ("Email sent to " + nameFirstname .getName () + " " + nameFirstname .getFirstname ()));
9393 v2vm_cancelButtonEvents .first ().takeUntil (sendEmailResult .toObservable ()).subscribe (actionEvent -> vm2v_resultat2 .onNext ("Aborted" ));
9494
95- final Single <FinishedIndicator > bothFinished =
96- Single . zip ( createAccountResult ,
97- sendEmailResult ,
98- (finishedIndicator , finishedIndicator2 ) -> FinishedIndicator .INSTANCE
99- );
95+ final Single <FinishedIndicator > bothFinished = Single . zip (
96+ createAccountResult ,
97+ sendEmailResult ,
98+ (finishedIndicator , finishedIndicator2 ) -> FinishedIndicator .INSTANCE
99+ );
100100 Single .merge (bothFinished , v2vm_cancelButtonEvents .first ().toSingle ())
101101 .toBlocking ()
102102 .first ();
You can’t perform that action at this time.
0 commit comments