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);
|
||||
});
|
||||
|
||||
mBanner2.setVisibility(View.GONE);
|
||||
if (fastMsgRecyclerView.getVisibility() == View.GONE) {
|
||||
params1.bottomMargin = 0;
|
||||
mChatRecyclerView.setLayoutParams(params1);
|
||||
@ -963,8 +962,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
mBannerList2.add(bannerBean);
|
||||
}
|
||||
}
|
||||
if (mBannerList2.size() <= 0) {
|
||||
if (mBannerList2.isEmpty()) {
|
||||
btn_event2.setVisibility(View.GONE);
|
||||
mBanner2.setVisibility(View.GONE);
|
||||
}
|
||||
showBanner2();
|
||||
} else {
|
||||
|
@ -284,7 +284,7 @@
|
||||
android:layout_height="match_parent"
|
||||
|
||||
android:layout_centerInParent="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/guardian_img_two"
|
||||
android:visibility="visible"
|
||||
app:autoPlay="true" />
|
||||
|
Loading…
Reference in New Issue
Block a user