package com.tejia.lijin.app.ui.gold.contract;
|
|
import org.json.JSONObject;
|
|
/**
|
* 金币兑换Contract,数据传递
|
*/
|
public class GoldExchangeContract {
|
|
/*
|
获取数据,将数据传递到View层
|
*/
|
public interface goldExchageInfo {
|
void onGainListDataSuccess(JSONObject jsonObject);
|
|
void onGainListDataFailure(String errorStr);
|
|
void onGoExchangeVerifySuccess(JSONObject jsonObject);
|
|
void onGoExchangeVerifyFailure(String errorStr);
|
|
void onGoExchangeSuccess(JSONObject jsonObject,String id);
|
|
void onGoExchangeFailure(String errorStr);
|
}
|
|
|
/*
|
网络请求回调
|
*/
|
public interface goldExchangeListCallback {
|
void onSuccess(JSONObject jsonObject);
|
|
void onFailure(String errorStr);
|
}
|
}
|