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
建议在BottomDialog的 removeMaskView() 方法中,移除maskView和异常后对maskView置空,避免内存泄露:
if (maskView == null) { DialogLog.print("mask view is null"); return; } try { activity.getWindowManager().removeViewImmediate(maskView); maskView=null; DialogLog.print("dialog remove mask view"); } catch (Throwable e) { //...not attached to window manager // Activity ...... has leaked window android.view.View DialogLog.print(e); maskView=null; } }
The text was updated successfully, but these errors were encountered:
#337 避免内存泄露
58d94fd
@houyinyu 已发布 4.1.12 版本
Sorry, something went wrong.
No branches or pull requests
建议在BottomDialog的 removeMaskView() 方法中,移除maskView和异常后对maskView置空,避免内存泄露:
The text was updated successfully, but these errors were encountered: