ITopicDetailPresenter.java 636 Bytes
Newer Older
konghaorui committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
package com.yidianling.dynamic.topic.topicDetail;


import com.ydl.ydlcommon.mvp.base.IPresenter;
import com.yidianling.dynamic.model.Focus;
import com.yidianling.dynamic.model.TopicDetailBean;

/**
 * Created by Jim on 2017/12/28 0028.
 */

public interface ITopicDetailPresenter extends IPresenter<TopicDetailView> {

    interface ITopicDetailInteracor{
        void onTopicDetailDataFetched(TopicDetailBean topicDetail);
        void onTopicDetailDataFetchFailed(Throwable throwable);

        void onFocusResultFetched(Focus resp);
        void onFocusFailed(Throwable throwable);
    }

    void getTopicDetail(String topicId);
}