We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XPopup版本 如2.9.19
手机系统和型号 机型不影响
描述你的问题 可以popupView的回调中返回popupView的对象,方便在回调中对Popup做一些操作,下方举个具体的例子
var basePopupWindow:BasePopupView? = null popupWindow = XPopup.Builder(this) .isDarkTheme(AppConfig.isDarkTheme()) .customAnimator(IOSStyleDialogAnimator()) .autoDismiss(false) //设置不默认取消 .asConfirm("提示", "我是内容", "取消", "确认", { //点击确认需要dismiss,这是必须要创建用popupWindow接收对象才行,如果回调中返回该对象,就不会需要有这一步,增加便捷性 popupWindow?.dismiss() }, { //点击取消 }, false).show()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
XPopup版本
如2.9.19
手机系统和型号
机型不影响
描述你的问题
可以popupView的回调中返回popupView的对象,方便在回调中对Popup做一些操作,下方举个具体的例子
The text was updated successfully, but these errors were encountered: