update 联系方式
This commit is contained in:
parent
c78bb79633
commit
c22da60b82
@ -4312,6 +4312,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
public void initTopBanner() {
|
public void initTopBanner() {
|
||||||
checkNewLetter();
|
checkNewLetter();
|
||||||
mTopBannerList = new ArrayList<>();
|
mTopBannerList = new ArrayList<>();
|
||||||
|
topBanner1.setVisibility(View.GONE);
|
||||||
topBanner1.setAutoPlay(true)
|
topBanner1.setAutoPlay(true)
|
||||||
.setPages(mTopBannerList, new Banner4CustomViewHolder())
|
.setPages(mTopBannerList, new Banner4CustomViewHolder())
|
||||||
.setDelayTime(3000)
|
.setDelayTime(3000)
|
||||||
@ -4327,7 +4328,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
checkNewLetter();
|
checkNewLetter();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
fragment.setOnShowListener(dialog -> mHandler.postDelayed(loading::dismiss,500));
|
fragment.setOnShowListener(dialog -> mHandler.postDelayed(loading::dismiss, 500));
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.putString(Constants.LIVE_UID, mLiveUid);
|
bundle.putString(Constants.LIVE_UID, mLiveUid);
|
||||||
bundle.putString(Constants.LIVE_STREAM, mStream);
|
bundle.putString(Constants.LIVE_STREAM, mStream);
|
||||||
@ -4344,12 +4345,15 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(LiveAnchorCallMeModel data) {
|
public void onSuccess(LiveAnchorCallMeModel data) {
|
||||||
System.out.println(">>>>> 获取联系方式:" + data);
|
System.out.println(">>>>> 获取联系方式:" + data);
|
||||||
BannerBean call = new BannerBean();
|
if (data.getIsShow() == 1) {
|
||||||
call.setIconRes(R.mipmap.ic_live_float_call_me);
|
topBanner1.setVisibility(View.VISIBLE);
|
||||||
call.setActivityId(data.getGiftId());
|
BannerBean call = new BannerBean();
|
||||||
call.setType(TOP_BANNER_TYPE_CALL_ME);
|
call.setIconRes(R.mipmap.ic_live_float_call_me);
|
||||||
mTopBannerList.add(0, call);
|
call.setActivityId(data.getGiftId());
|
||||||
topBanner1.update(mTopBannerList);
|
call.setType(TOP_BANNER_TYPE_CALL_ME);
|
||||||
|
mTopBannerList.add(0, call);
|
||||||
|
topBanner1.update(mTopBannerList);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user