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
调用adManager.dismissAdDialog();后,出现内存泄漏 在AnimSpring类中,springSystem对象无法销毁 检测工具:leakcanary
The text was updated successfully, but these errors were encountered:
我也遇到了同样的问题。请问老哥你解决了吗?
Sorry, something went wrong.
不要使用gradle中的引入方式(implementation 'cn.yipianfengye.android:ad-library:1.0'),直接引入代码moudle(implementation project(':adlibrary')),在AnimSpring中加入方法: public void release() { springSystem = null; animSpring = null; }
在AnimDialogUtils的dimiss中调用该方法就行了 public void dismiss(int animType) { AnimSpring animSpring = AnimSpring.getInstance(); animSpring.stopAnim(animType, this); animSpring.release(); }
No branches or pull requests
调用adManager.dismissAdDialog();后,出现内存泄漏
在AnimSpring类中,springSystem对象无法销毁
检测工具:leakcanary
The text was updated successfully, but these errors were encountered: