初始化橘视厅酒店版Android项目
This commit is contained in:
197
libdata/src/main/java/com/migu/callback/AijiaCallback.java
Executable file
197
libdata/src/main/java/com/migu/callback/AijiaCallback.java
Executable file
@@ -0,0 +1,197 @@
|
||||
package com.migu.callback;
|
||||
|
||||
import com.migu.bean.ApkVersionResponse;
|
||||
import com.migu.bean.AuthorizeNewBean;
|
||||
import com.migu.bean.CollectBean;
|
||||
import com.migu.bean.ContentListBean;
|
||||
import com.migu.bean.GetCalenderMatchDate;
|
||||
import com.migu.bean.GetEpgNavBean;
|
||||
import com.migu.bean.GetFindPlayrecordBean;
|
||||
import com.migu.bean.GetGameDetailBean;
|
||||
import com.migu.bean.GetGameSeasonInfoListBean;
|
||||
import com.migu.bean.GetLayoutBean;
|
||||
import com.migu.bean.GetMatchListBean;
|
||||
import com.migu.bean.GetServiceListBean;
|
||||
import com.migu.bean.GetShortVideoBean;
|
||||
import com.migu.bean.GetTopButtonBean;
|
||||
import com.migu.bean.GetLayoutNavBean;
|
||||
import com.migu.bean.GetcontentlistBean;
|
||||
import com.migu.bean.GetGameSeasonInfoRecommendBean;
|
||||
import com.migu.bean.GetlistcollBean;
|
||||
import com.migu.bean.GetsystemBean;
|
||||
import com.migu.bean.GettagslistBean;
|
||||
import com.migu.bean.GoldMainBean;
|
||||
|
||||
import com.migu.bean.PassDataBean;
|
||||
import com.migu.bean.SearchRecommendBean;
|
||||
import com.migu.bean.SearchResultBean;
|
||||
import com.migu.bean.ShortVideoBean;
|
||||
import com.migu.bean.SuggestBean;
|
||||
import com.migu.bean.UpApkBean;
|
||||
import com.migu.bean.UpApkRequestBean;
|
||||
import com.migu.bean.VideoResultBean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class AijiaCallback {
|
||||
public interface GettagslistCallback{
|
||||
void onResponse(GettagslistBean response);
|
||||
}
|
||||
|
||||
public interface GetcontentlistCallback{
|
||||
void onResponse(GetcontentlistBean response);
|
||||
void onFail(String value);
|
||||
}
|
||||
public interface GetContentlistInListPageCallback{
|
||||
void onResponse(GetcontentlistBean response);
|
||||
}
|
||||
|
||||
public interface GetEpgNavCallback{
|
||||
void onResponse(GetEpgNavBean response);
|
||||
}
|
||||
|
||||
public interface SearchSuggestCallback{
|
||||
void onResponse(SuggestBean response);
|
||||
}
|
||||
|
||||
public interface VideoResultCallback{
|
||||
void onResponse(SearchResultBean response);
|
||||
void onFail(String value);
|
||||
}
|
||||
|
||||
public interface ContentListCallback{
|
||||
void onResponse(ContentListBean response);
|
||||
void onFail(String value);
|
||||
}
|
||||
|
||||
public interface RecommendCallback{
|
||||
void onResponse(SearchRecommendBean response);
|
||||
void onFail(String value);
|
||||
}
|
||||
|
||||
public interface GetLayoutNavBeanCallBack{
|
||||
void onResponse(GetLayoutNavBean response);
|
||||
}
|
||||
|
||||
public interface GetShortVideoBeanCallBack{
|
||||
void onResponse(GetShortVideoBean response);
|
||||
}
|
||||
|
||||
public interface GetGameSeasonInfoRecommendBeanCallBack{
|
||||
void onResponse(GetGameSeasonInfoRecommendBean response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface GetGameDetailBeanCallBack{
|
||||
void onResponse(GetGameDetailBean response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface GetGameSeasonInfoListBeanCallBack{
|
||||
void onResponse(GetGameSeasonInfoListBean response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface GetLayoutBeanCallBack{
|
||||
void onResponse(GetLayoutBean response);
|
||||
}
|
||||
|
||||
public interface GeTopButtonBeanCallBack{
|
||||
void onResponse(GetTopButtonBean response);
|
||||
}
|
||||
|
||||
public interface GetFindPlayrecordCallBack{
|
||||
void onResponse(GetFindPlayrecordBean response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface GetPassCallBack{
|
||||
void onResponse(String response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface GetListCollBack{
|
||||
void onResponse(GetlistcollBean response);
|
||||
}
|
||||
|
||||
public interface GetsystemCallBack{
|
||||
void onResponse(GetsystemBean response);
|
||||
void netFail();
|
||||
void fail();
|
||||
}
|
||||
public interface GetApkVersionResponseCallBack{
|
||||
void onResponse(ApkVersionResponse response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface OnUpApkCallBack{
|
||||
void onResponse(UpApkRequestBean response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface GetPassSwitchCallBack{
|
||||
void onResponse(PassDataBean passDataBean);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface GetShortVideoCallBack{
|
||||
void onResponse(ShortVideoBean shortVideoBean);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface AuthOrizeCallBack{
|
||||
void onResponse(String response);
|
||||
void fail();
|
||||
}
|
||||
/**
|
||||
* 收藏回调
|
||||
*/
|
||||
public interface CollectResponseCallBack{
|
||||
void onResponse(CollectBean response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
public interface StringResponseCallBack{
|
||||
void onResponse(String response);
|
||||
}
|
||||
|
||||
public interface GoldMainCallBack{
|
||||
void onResponse(GoldMainBean response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
|
||||
public interface GetCdnTypeResponseCallBack{
|
||||
void onResponse(String cdnType);
|
||||
}
|
||||
|
||||
|
||||
public interface PlayAuthorizeLiveCallBack{
|
||||
void onResponse(String livePlayUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
* 产品列表回调
|
||||
* */
|
||||
public interface getServiceListCallBack{
|
||||
void onResponse(GetServiceListBean response);
|
||||
void fail();
|
||||
}
|
||||
/**
|
||||
* 江苏鉴权回调
|
||||
* */
|
||||
public interface authorizeNewCallBack{
|
||||
void onResponse(AuthorizeNewBean response);
|
||||
void fail();
|
||||
}
|
||||
|
||||
|
||||
public interface getCalenderMatchDate{
|
||||
void onResponse(GetCalenderMatchDate response);
|
||||
void fail();
|
||||
}
|
||||
public interface getMatchListCallBack{
|
||||
void onResponse(GetMatchListBean response);
|
||||
void fail();
|
||||
}
|
||||
}
|
||||
26
libdata/src/main/java/com/migu/callback/CommonCallback.java
Executable file
26
libdata/src/main/java/com/migu/callback/CommonCallback.java
Executable file
@@ -0,0 +1,26 @@
|
||||
|
||||
package com.migu.callback;
|
||||
|
||||
/**
|
||||
* [统一的网络请求回调接口]<BR>
|
||||
*
|
||||
* @author wcg
|
||||
* @version [V0.1.0.1, 2024/4/11 0011]
|
||||
* @since V0.1.0.1
|
||||
*/
|
||||
public class CommonCallback {
|
||||
/**
|
||||
* 回参
|
||||
*
|
||||
* @param response
|
||||
* @param <T>
|
||||
*/
|
||||
public <T> void onResponse(T response) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 失败
|
||||
*/
|
||||
public void onFail() {
|
||||
}
|
||||
}
|
||||
7
libdata/src/main/java/com/migu/callback/GoOrderCallbackShanghai.java
Executable file
7
libdata/src/main/java/com/migu/callback/GoOrderCallbackShanghai.java
Executable file
@@ -0,0 +1,7 @@
|
||||
package com.migu.callback;
|
||||
|
||||
|
||||
public interface GoOrderCallbackShanghai {
|
||||
void onResponse(String result,String returnUrl);
|
||||
void onFail();
|
||||
}
|
||||
Reference in New Issue
Block a user