修复测试问题
This commit is contained in:
@@ -1063,11 +1063,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
return;
|
||||
}
|
||||
btn_event2.setVisibility(View.VISIBLE);
|
||||
if (btn_event3.getVisibility() == View.VISIBLE) {
|
||||
RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams) btn_event3.getLayoutParams();
|
||||
layoutParams.bottomMargin = DpUtil.dp2px(150);
|
||||
btn_event3.setLayoutParams(layoutParams);
|
||||
}
|
||||
|
||||
if (mBannerList2.size() == 1) {
|
||||
mBanner2.setAutoPlay(false)
|
||||
.setPages(mBannerList2, new CustomViewHolder())
|
||||
@@ -2891,11 +2887,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
if (mBannerList3 == null || mBannerList3.size() == 0 || mBanner3 == null || bean1 == null) {
|
||||
return;
|
||||
}
|
||||
if (btn_event2.getVisibility() == View.VISIBLE) {
|
||||
RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams) btn_event3.getLayoutParams();
|
||||
layoutParams.bottomMargin = DpUtil.dp2px(150);
|
||||
btn_event3.setLayoutParams(layoutParams);
|
||||
}
|
||||
|
||||
mBanner3.setAutoPlay(true)
|
||||
.setPages(mBannerList3, new Banner3CustomViewHolder())
|
||||
.setDelayTime(3000)
|
||||
|
||||
Reference in New Issue
Block a user