心愿单新增关闭弹窗刷新

This commit is contained in:
Martin 2024-08-30 10:31:24 +08:00
parent 849f5aa66d
commit 9b9e2bb2dc

View File

@ -658,6 +658,54 @@ public class LiveNewReadySwViewHolder extends AbsViewHolder implements View.OnCl
//
// }
new XPopup.Builder(mContext)
.setPopupCallback(new XPopupCallback() {
@Override
public void onCreated(BasePopupView popupView) {
}
@Override
public void beforeShow(BasePopupView popupView) {
}
@Override
public void onShow(BasePopupView popupView) {
}
@Override
public void onDismiss(BasePopupView popupView) {
if (liveOpenCustomPopup != null) {
liveOpenCustomPopup.initDate();
}
}
@Override
public void beforeDismiss(BasePopupView popupView) {
}
@Override
public boolean onBackPressed(BasePopupView popupView) {
return false;
}
@Override
public void onKeyBoardStateChanged(BasePopupView popupView, int height) {
}
@Override
public void onDrag(BasePopupView popupView, int value, float percent, boolean upOrLeft) {
}
@Override
public void onClickOutside(BasePopupView popupView) {
}
})
.enableDrag(false)
.asCustom(new LiveNewWishListPopup((LiveSwAnchorActivity) mContext))
.show();