Crunching RxAndroid — Part 6
Roberto Orgiu

Whoa, whoa, wait just a second … subscribing with a method reference isn’t part of RxBinding. That’s Retrolambda (or a different library) isn’t it? Without the Retrolambda plugin, this method looks something like:

RxTextView.textChanges(reactiveApproachEditText).subscribe(new Action1<String>() {

@Override public void call(String s) {

// Respond here



Still less verbose, but you don’t get the calls to `beforeTextChanged()` and `afterTextChanged()`. Maybe you don’t need them, but if you do, `RxTextView` won’t work for you quite as nicely because you’ll have to subscribe to those other events separately. I’m not saying there aren’t benefits to this approach, but I am trying to point out some of the caveats.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.