HarlonWang / HarlonWang/AVLoadingIndicatorView

BallClipRotateIndicator leaks an Activity

Open
#56 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
9.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

![2016-10-06 10 56 49](https://cloud.githubusercontent.com/assets/4799348/19149991/ed11283c-8bc4-11e6-8614-8b189025e40a.png)
From the leak canary report it seems like [BallClipRotateIndicator](https://github.com/81813780/AVLoadingIndicatorView/blob/master/library/src/main/java/com/wang/avi/indicators/BallClipRotateIndicator.java) leaks a calling view (and activity afterward). It might be caused by keeping an implicit reference for calling `postInvalidate();` method.
Possible fix would be to clean up the reference in ondetachedfromwindow method.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.