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
SkinManager attach方法关于observer是否已经add的判断有问题 if(!skinObservers.contains(skinObservers)){ skinObservers.add(observer); }
The text was updated successfully, but these errors were encountered:
嗯应该改为 @OverRide public void attach(ISkinUpdate observer) { if(skinObservers == null){ skinObservers = new ArrayList(); } if(!skinObservers.contains(observer)){ skinObservers.add(observer); } } 否则会引起内存泄漏,最终会导致OOM,我的线上APP就遇到了这个问题
Sorry, something went wrong.
No branches or pull requests
SkinManager attach方法关于observer是否已经add的判断有问题
if(!skinObservers.contains(skinObservers)){
skinObservers.add(observer);
}
The text was updated successfully, but these errors were encountered: