fix:修复活动banner没显示问题
This commit is contained in:
parent
8b3bfbc0fa
commit
0d93c91e65
@ -871,7 +871,6 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
mChatRecyclerView.setLayoutParams(params1);
|
mChatRecyclerView.setLayoutParams(params1);
|
||||||
});
|
});
|
||||||
|
|
||||||
mBanner2.setVisibility(View.GONE);
|
|
||||||
if (fastMsgRecyclerView.getVisibility() == View.GONE) {
|
if (fastMsgRecyclerView.getVisibility() == View.GONE) {
|
||||||
params1.bottomMargin = 0;
|
params1.bottomMargin = 0;
|
||||||
mChatRecyclerView.setLayoutParams(params1);
|
mChatRecyclerView.setLayoutParams(params1);
|
||||||
@ -963,8 +962,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
mBannerList2.add(bannerBean);
|
mBannerList2.add(bannerBean);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mBannerList2.size() <= 0) {
|
if (mBannerList2.isEmpty()) {
|
||||||
btn_event2.setVisibility(View.GONE);
|
btn_event2.setVisibility(View.GONE);
|
||||||
|
mBanner2.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
showBanner2();
|
showBanner2();
|
||||||
} else {
|
} else {
|
||||||
|
@ -284,7 +284,7 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
|
||||||
android:layout_centerInParent="true"
|
android:layout_centerInParent="true"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="fitCenter"
|
||||||
android:src="@drawable/guardian_img_two"
|
android:src="@drawable/guardian_img_two"
|
||||||
android:visibility="visible"
|
android:visibility="visible"
|
||||||
app:autoPlay="true" />
|
app:autoPlay="true" />
|
||||||
|
Loading…
Reference in New Issue
Block a user