package com.fastaccess.ui.modules.repos.code.commit.details;

import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import com.fastaccess.data.dao.CommitModel;
import com.fastaccess.ui.base.mvp.BaseMvp;

/**
 * Created by Kosh on 10 Dec 2016, 9:21 AM
 */

interface CommitPagerMvp {

    interface View extends BaseMvp.FAView {

        void onSetup();
    }

    interface Presenter extends BaseMvp.FAPresenter {

        @Nullable CommitModel getCommit();

        void onActivityCreated(@Nullable Intent intent);

        void onWorkOffline(@NonNull String sha, @NonNull String repoId, @NonNull String login);

        String getLogin();

        String getRepoId();

    }

}
