package pl.mbaleczny.instalike.util.base;

import io.reactivex.disposables.CompositeDisposable;
import pl.mbaleczny.instalike.util.scheduler.BaseSchedulerProvider;

public abstract class AbstractBasePresenter<V extends BaseView> implements BasePresenter<V> {

    protected final CompositeDisposable disposable;
    protected final BaseSchedulerProvider scheduler;
    protected V view;

    public AbstractBasePresenter(BaseSchedulerProvider scheduler) {
        this.scheduler = scheduler;
        disposable = new CompositeDisposable();
    }

    @Override
    public void attachView(V view) {
        this.view = view;
    }

    @Override
    public void detachView() {
        disposable.clear();
        view = null;
    }
}

@@ -92,76 +92,8 @@
 ble;
-%0Aimport pl.mbaleczny.instalike.util.scheduler.BaseSchedulerProvider;
 %0A%0Apu
@@ -255,173 +255,53 @@
 ted 
-final BaseSchedulerProvider scheduler;%0A    protected V view;%0A%0A    public AbstractBasePresenter(BaseSchedulerProvider scheduler) %7B%0A        this.scheduler = scheduler;
+V view;%0A%0A    public AbstractBasePresenter() %7B
 %0A   

Remove BaseSchedulerProvider field in AbstractBasePresenter