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

【功能建议】Dismiss定义提升 #461

Closed
WangHan2014 opened this issue Aug 20, 2024 · 1 comment
Closed

【功能建议】Dismiss定义提升 #461

WangHan2014 opened this issue Aug 20, 2024 · 1 comment
Labels
已处理 已处理,等待结单

Comments

@WangHan2014
Copy link

功能建议

需求描述:

能否将Dismiss提升至BaseDialog实现或提供其他实现于基础类的关闭方式

例如:
dialog.close()
((BaseDialog)dialog).dismiss()

@kongzue
Copy link
Owner

kongzue commented Aug 27, 2024

事实上,BaseDialog 是一个基础类并不提供对外直接使用的实现,如果要实现一个自定义的对话框子类可以通过以下方法关掉对话框:

dismiss(dialogView);

@kongzue kongzue added the 已处理 已处理,等待结单 label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
已处理 已处理,等待结单
Projects
None yet
Development

No branches or pull requests

2 participants