public class ItemOffsetDecoration extends RecyclerView.ItemDecoration {
private int mItemOffset;
public ItemOffsetDecoration(int itemOffset) {
mItemOffset = itemOffset;
}
Problem
Error:(29, 37) error: cannot find symbol method subscribeOn(Scheduler)
This happens compiling this code borrowed from http://blog.danlew.net/2015/03/02/dont-break-the-chain/#comment-2388677116
final Observable.Transformer schedulersTransformer =
observable -> observable.subscribeOn(Schedulers.io())