5
This commit is contained in:
parent
4de3dce2fd
commit
c30f18eaa9
@ -3292,6 +3292,7 @@ public class LiveNetManager {
|
||||
}
|
||||
}).isDisposed();
|
||||
}
|
||||
|
||||
public void getMessageSayHiStartTimer(
|
||||
HttpCallback<MessageSayHiStartBean> callback) {
|
||||
API.get().pdLiveApi(mContext)
|
||||
@ -3335,26 +3336,6 @@ public class LiveNetManager {
|
||||
}).isDisposed();
|
||||
}
|
||||
|
||||
public void getUserHomeBanner(String search, HttpCallback<List<String>> callback) {
|
||||
API.get().pdLiveApi(mContext)
|
||||
.getUserHomeBanner(search)
|
||||
.subscribeOn(Schedulers.io())
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe(roomMicStatusModelResponseModel -> {
|
||||
if (callback != null) {
|
||||
callback.onSuccess(roomMicStatusModelResponseModel.getData().getInfo());
|
||||
}
|
||||
}, new Consumer<Throwable>() {
|
||||
@Override
|
||||
public void accept(Throwable throwable) throws Exception {
|
||||
throwable.printStackTrace();
|
||||
if (callback != null) {
|
||||
callback.onError(mContext.getString(R.string.net_error));
|
||||
}
|
||||
}
|
||||
}).isDisposed();
|
||||
}
|
||||
|
||||
public void getUserHomeInfo(String touid, HttpCallback<HomeUserInfoBean> callback) {
|
||||
API.get().pdLiveApi(mContext)
|
||||
.getUserHomeInfo(touid)
|
||||
@ -3407,7 +3388,6 @@ public class LiveNetManager {
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 直播间取消网络请求
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user