Skip to content

Commit

Permalink
Remove animator update listeners on root view detach
Browse files Browse the repository at this point in the history
  • Loading branch information
midaslefkowitz authored and Saket Narayan committed Dec 20, 2018
1 parent 9baef63 commit 85275e2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ object FluidContentResizer {
}
viewHolder.onDetach {
heightAnimator.cancel()
heightAnimator.removeAllUpdateListeners()
}
}

Expand Down

0 comments on commit 85275e2

Please sign in to comment.