Is there an operator that emits items if the item to be emitted is not equal the last emitted item?
There is distinctUntilChanged().
RxJava also implements the distinctUntilChanged operator. It only compares emitted items from the source Observable against their immediate predecessors in order to determine whether or not they are distinct.