admin
2021-07-06 abce02c7a61820f5d580f87364d542e817be429c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.tejia.lijin.app.contract;
 
 
import org.json.JSONObject;
 
/**
 * 金币任务契约类
 */
public class GoldTaskContract {
    /**
     * activity 要实现的方法
     */
    public interface GoldTaskView {
        void onNotReceived(JSONObject obj);//未领取金币数据成功
 
        void onNotReceivedFail(String errorInfo);//未领取金币数据失败
 
        void onTaskList(JSONObject obj);//金币任务列表成功
 
        void onTaskListFail(String errorInfo);//金币任务列表失败
 
        void onReceiveGoldCoin(JSONObject obj);//金币领取成功
 
        void onReceiveGoldCoinFail(String errorInfo);//金币领取失败
    }
 
 
    /**
     * 搜索回调接口
     */
    public interface GoldTaskCallBack {
        void onSuccess(JSONObject obj);
 
        void onFail(String errorInfo);
    }
}