i am new android and rxjava. i have been through many examples where we listen for events with rxbindings. such as this
RxView.clicks(b).subscribe(new Action1<Void>() {
@Override
public void call(Void aVoid) {
// do some work here
}
});
or
RxTextView.textChanges(name)
.subscribe(new Action1<String>() {
@Override
public void call(String value) {
// do some work with the updated text
}
});
now i am trying to do the same for android spinner. i want to listen for itemselected event. can anyone help?