I have the following code
submitButtonClickObservable
.withLatestFrom(txtInputChangesObservable)
.subscribe{ }
It works well, but i want to handle clicking the submit button while the text input is not used and show the validation error. Is it possible to do it only with Rx without using variables like var text: CharSequence
or accessing EditText value?
withLatestFrom marble: http://rxmarbles.com/#withLatestFrom