package kr.co.hanwha.hifive.adapter.contract;

import android.support.annotation.NonNull;

import java.util.ArrayList;

import kr.co.hanwha.hifive.base.BaseListContract;
import kr.co.hanwha.hifive.data.model.TaskListData;

/**
 * Created by sanghoonkwon on 2018. 1. 25..
 */

public interface MainHomeRequestListContract extends BaseListContract {
    interface OnTaskListListener {
        /**
         * TASK 클릭
         *
         * @param data TASK 데이터
         */
        void onItemClicked(@NonNull TaskListData data);
    }

    interface View {
        void notifyDataAll();

        void notifyDataRangeChanged(int positionStart, int itemCount);
    }

    interface Model {
        void addItems(ArrayList<TaskListData> evaluationListData, ArrayList<TaskListData> requestedListData);
    }
}
