Skip to content

Commit

Permalink
remove some listener
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenceDut committed Feb 21, 2017
1 parent d4cf902 commit f367365
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified apk/expandable.apk
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,11 @@ protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
if(mExpandAnimator!=null&&mExpandAnimator.isRunning()) {
mExpandAnimator.cancel();
mExpandAnimator.removeAllUpdateListeners();
}
if(mParentAnimator!=null&&mParentAnimator.isRunning()) {
mParentAnimator.cancel();
mParentAnimator.removeAllUpdateListeners();
}
if(mExpandScrollAnimotorSet!=null) {
mExpandScrollAnimotorSet.cancel();
Expand Down

0 comments on commit f367365

Please sign in to comment.