package com.fastaccess.ui.modules.pinned.pullrequest;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.fastaccess.data.dao.model.PullRequest;
import com.fastaccess.ui.base.mvp.BaseMvp;
import com.fastaccess.ui.widgets.recyclerview.BaseViewHolder;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Kosh on 25 Mar 2017, 7:57 PM
 */

public interface PinnedPullRequestMvp {

    interface View extends BaseMvp.FAView {
        void onNotifyAdapter(@Nullable List<PullRequest> items);

        void onDeletePinnedPullRequest(long id, int position);
    }

    interface Presenter extends BaseViewHolder.OnItemClickListener<PullRequest> {
        @NonNull ArrayList<PullRequest> getPinnedPullRequest();

        void onReload();
    }
}
