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() {
|
||||
checkNewLetter();
|
||||
mTopBannerList = new ArrayList<>();
|
||||
topBanner1.setVisibility(View.GONE);
|
||||
topBanner1.setAutoPlay(true)
|
||||
.setPages(mTopBannerList, new Banner4CustomViewHolder())
|
||||
.setDelayTime(3000)
|
||||
@ -4344,12 +4345,15 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
@Override
|
||||
public void onSuccess(LiveAnchorCallMeModel data) {
|
||||
System.out.println(">>>>> 获取联系方式:" + data);
|
||||
if (data.getIsShow() == 1) {
|
||||
topBanner1.setVisibility(View.VISIBLE);
|
||||
BannerBean call = new BannerBean();
|
||||
call.setIconRes(R.mipmap.ic_live_float_call_me);
|
||||
call.setActivityId(data.getGiftId());
|
||||
call.setType(TOP_BANNER_TYPE_CALL_ME);
|
||||
mTopBannerList.add(0, call);
|
||||
topBanner1.update(mTopBannerList);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user