Skip to content
New issue

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

不同按钮点击关闭之后区分不同事件 #1187

Open
haoshiwei opened this issue Nov 28, 2023 · 2 comments
Open

不同按钮点击关闭之后区分不同事件 #1187

haoshiwei opened this issue Nov 28, 2023 · 2 comments

Comments

@haoshiwei
Copy link

XPopup版本
2.8.16

手机系统和型号
华为Mate20 Android 10

描述你的问题
我的需求想在对话框内两个按钮点击之后关闭对话框,按钮A关闭之后执行A方法,B按钮关闭之后执行B方法,怎么在监听中区分,或者有没有什么办法可以监听不同按钮的关闭弹窗的事件

@billdizl
Copy link

billdizl commented Dec 5, 2023

自己思考,非框架问题,你所提出的需求框架已经满足了

@geziin
Copy link

geziin commented Dec 12, 2023

在点击事件那里写回调

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants