commit | 341fe66f7d202c24436a39f13dc3c2375e4fa138 | [log] [tgz] |
---|---|---|
author | Joe Hansche <jhansche@meetme.com> | Mon Sep 15 20:12:17 2014 -0400 |
committer | Joe Hansche <jhansche@meetme.com> | Tue Dec 15 20:41:53 2015 +0000 |
tree | ad909ee0a85a8e41c4daed262572920e23386d7b | |
parent | 8bcba7a55204d0302290a3ddecbf35fc5123d2b5 [diff] |
Skip removing the Fragment's view if it is being animated. The animation is currently being canceled because the view is removed from its parent immediately after starting the animation, so the animation never plays. Likewise, the state never advances because the animation listener's onAnimationEnd() callback is not invoked. This change defers removal of the mAnimatingAway view until the animation finishes playing. Change-Id: I10dcf2a9dd20d5616c86be7432da89c343953c68