@ -197,7 +200,8 @@ public class HorizontalItemAnimator extends SimpleItemAnimator {
@@ -197,7 +200,8 @@ public class HorizontalItemAnimator extends SimpleItemAnimator {
@ -207,6 +211,7 @@ public class HorizontalItemAnimator extends SimpleItemAnimator {
@@ -207,6 +211,7 @@ public class HorizontalItemAnimator extends SimpleItemAnimator {
publicvoidonAnimationEnd(Viewview){
animation.setListener(null);
ViewCompat.setAlpha(view,1);
ViewCompat.setTranslationY(view,0);
dispatchRemoveFinished(holder);
mRemoveAnimations.remove(holder);
dispatchFinishedWhenDone();
@ -227,8 +232,9 @@ public class HorizontalItemAnimator extends SimpleItemAnimator {
@@ -227,8 +232,9 @@ public class HorizontalItemAnimator extends SimpleItemAnimator {
@ -236,6 +242,7 @@ public class HorizontalItemAnimator extends SimpleItemAnimator {
@@ -236,6 +242,7 @@ public class HorizontalItemAnimator extends SimpleItemAnimator {
@Override
publicvoidonAnimationCancel(Viewview){
ViewCompat.setTranslationY(view,0);
ViewCompat.setAlpha(view,1);
}
@ -316,6 +323,17 @@ public class HorizontalItemAnimator extends SimpleItemAnimator {
@@ -316,6 +323,17 @@ public class HorizontalItemAnimator extends SimpleItemAnimator {
@ -197,7 +200,8 @@ public class VerticalItemAnimator extends SimpleItemAnimator {
@@ -197,7 +200,8 @@ public class VerticalItemAnimator extends SimpleItemAnimator {
@ -207,6 +211,7 @@ public class VerticalItemAnimator extends SimpleItemAnimator {
@@ -207,6 +211,7 @@ public class VerticalItemAnimator extends SimpleItemAnimator {
publicvoidonAnimationEnd(Viewview){
animation.setListener(null);
ViewCompat.setAlpha(view,1);
ViewCompat.setTranslationX(view,0);
dispatchRemoveFinished(holder);
mRemoveAnimations.remove(holder);
dispatchFinishedWhenDone();
@ -227,8 +232,8 @@ public class VerticalItemAnimator extends SimpleItemAnimator {
@@ -227,8 +232,8 @@ public class VerticalItemAnimator extends SimpleItemAnimator {
@ -237,6 +242,7 @@ public class VerticalItemAnimator extends SimpleItemAnimator {
@@ -237,6 +242,7 @@ public class VerticalItemAnimator extends SimpleItemAnimator {
@Override
publicvoidonAnimationCancel(Viewview){
ViewCompat.setAlpha(view,1);
ViewCompat.setTranslationX(view,0);
}
@Override
@ -316,6 +322,17 @@ public class VerticalItemAnimator extends SimpleItemAnimator {
@@ -316,6 +322,17 @@ public class VerticalItemAnimator extends SimpleItemAnimator {