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

Glide Bitmap releasing for BackgroundManager #288

Open
blazsolar opened this issue Aug 2, 2018 · 0 comments
Open

Glide Bitmap releasing for BackgroundManager #288

blazsolar opened this issue Aug 2, 2018 · 0 comments
Labels

Comments

@blazsolar
Copy link
Member

Glide is releasing resources when new one is loaded or target cleared. Since we are using BackgroundManager and it has its own implementation for changing and updating images. We run into an issue where Glide already releases bitmap that is still displayed on background causing an app to crash. This is due to a fact that BackgroundManager uses delay to display background so that it is not switching constantly.

Solution here could be to manually handle Glide.clear events for target or to not use Glide for background images.

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

1 participant