Fix SimpleAnimatorListener for RenderNodeAnimator in CheckTextView
This commit is contained in:
1 parent
4800f99529
commit
056df13e66
1 file changed
+6
-2
@@ -81,8 +81,12 @@ public class ViewTransition {
|
||||
ViewUtils.setVisibility(v, View.GONE);
|
||||
}
|
||||
}
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
startAnimationsL(views[oldShownView], views[shownView]);
|
||||
View viewToHide = views[oldShownView];
|
||||
View viewToShow = views[shownView];
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP &&
|
||||
viewToHide.isAttachedToWindow() &&
|
||||
viewToShow.isAttachedToWindow()) {
|
||||
startAnimationsL(viewToHide, viewToShow);
|
||||
} else {
|
||||
startAnimations(views[oldShownView], views[shownView]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user