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

当前页面dialog跑到上个页面显示 #197

Closed
fuys123 opened this issue May 26, 2022 · 1 comment
Closed

当前页面dialog跑到上个页面显示 #197

fuys123 opened this issue May 26, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@fuys123
Copy link

fuys123 commented May 26, 2022

SwipeBack侧滑返回,在当前页面想右滑返回,但是未返回上个页面的情况下,去点击当前页面的dialog发现在当前页面不显示,而是跑到上个页面显示了,系统的dialog则不会出现,请问是什么原因? 依赖是最新版的。

@fuys123 fuys123 added the bug Something isn't working label May 26, 2022
@kongzue
Copy link
Owner

kongzue commented May 26, 2022

请使用 .show(activity) 来启动 DialogX
DialogX默认情况下是自动获取当前的 topActivity,这依赖于 ActivityLifecycle 的回调,若有需要请自行指定要显示 Dialog 的 Activity 实例。

@fuys123 fuys123 closed this as completed May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants