修改礼物界面的切换逻辑
This commit is contained in:
@@ -209,6 +209,13 @@ public class LiveGiftDialogFragment extends AbsDialogFragment implements View.On
|
||||
type = position;
|
||||
type_name = bean.getName();
|
||||
upData();
|
||||
if (mBtnSendGroup != null && mBtnSendGroup.getVisibility() == View.VISIBLE) {
|
||||
mBtnChooseCount.setVisibility(View.INVISIBLE);
|
||||
mArrow.setVisibility(View.INVISIBLE);
|
||||
mBtnSend.setVisibility(View.VISIBLE);
|
||||
mBtnSend.setEnabled(false);
|
||||
mBtnSend.setBackgroundDrawable(mDrawable2);
|
||||
}
|
||||
//点击礼物,展示礼物列表
|
||||
mCurrentId = 0;
|
||||
if (mViewPager != null) {
|
||||
|
||||
@@ -4999,7 +4999,10 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
call.setType(TopBannerCustomViewHolder.TYPE_CALL_ANCHOR);
|
||||
mTopBannerList.add(0, call);
|
||||
topBanner1.update(mTopBannerList);
|
||||
topBanner2.update(mTopBannerList);
|
||||
if (topBanner2.getVisibility()==View.VISIBLE){
|
||||
topBanner2.update(mTopBannerList);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user