admin
2021-05-14 1b4b3fed2569ac21ad6feb0a3a2c051175e7c36e
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
package com.tejia.lijin.app.contract;
 
import com.tejia.lijin.app.entity.HotSearch;
 
import org.json.JSONObject;
 
import java.util.ArrayList;
 
/**
 * 京东activity专题
 */
public class JdSpecialContract {
    /**
     * activity 要实现的方法
     */
    public interface JdSpecialView {
        void onSearchSuccess(ArrayList<HotSearch> list, JSONObject obj);//成功
 
        void onSearchFail(String errorInfo);//失败
    }
 
 
    /**
     * 搜索回调接口
     */
    public interface JdSpecialCallBack {
        void onSuccess(ArrayList<HotSearch> list, JSONObject obj);
 
        void onFail(String errorInfo);
    }
}