同步PD修复内容:
add[新增添加整蠱禮物提示]
This commit is contained in:
parent
38a63230eb
commit
2f52ff9124
@ -15,6 +15,7 @@ import com.yunbao.common.bean.PrankGiftBean;
|
|||||||
import com.yunbao.common.dialog.AbsDialogPopupWindow;
|
import com.yunbao.common.dialog.AbsDialogPopupWindow;
|
||||||
import com.yunbao.common.interfaces.OnItemClickListener;
|
import com.yunbao.common.interfaces.OnItemClickListener;
|
||||||
import com.yunbao.common.utils.DialogUitl;
|
import com.yunbao.common.utils.DialogUitl;
|
||||||
|
import com.yunbao.common.utils.ToastUtil;
|
||||||
import com.yunbao.common.utils.WordUtil;
|
import com.yunbao.common.utils.WordUtil;
|
||||||
import com.yunbao.common.views.weight.ViewClicksAntiShake;
|
import com.yunbao.common.views.weight.ViewClicksAntiShake;
|
||||||
import com.yunbao.live.R;
|
import com.yunbao.live.R;
|
||||||
@ -110,6 +111,10 @@ public class LivePrankAddGiftNumberDialog extends AbsDialogPopupWindow {
|
|||||||
@Override
|
@Override
|
||||||
public void onViewClicks() {
|
public void onViewClicks() {
|
||||||
if (onItemClickListener != null) {
|
if (onItemClickListener != null) {
|
||||||
|
if(mAdapter.getSelectNumber()==0){
|
||||||
|
ToastUtil.show(WordUtil.isNewZh()?"請輸入數量":"Please enter the quantity");
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (mAdapter.getSelectNumber() > 0) {
|
if (mAdapter.getSelectNumber() > 0) {
|
||||||
giftNumber = mAdapter.getSelectNumber();
|
giftNumber = mAdapter.getSelectNumber();
|
||||||
}
|
}
|
||||||
|
@ -689,6 +689,8 @@ public class LiveSwLinkMicPkPresenter extends AbsLinkMicPkPresenter implements V
|
|||||||
onLinkMicPkStart(mApplyUid, 2);
|
onLinkMicPkStart(mApplyUid, 2);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
//收起整蠱列表
|
||||||
|
mLiveRoomViewHolder.closePrankView();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user