Skip to content

Commit b0343f8

Browse files
committed
fix(android): removed animation lib for now
1 parent fda4f74 commit b0343f8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

packages/collectionview/platforms/android/include.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ dependencies {
44
// implementation ('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:1.0.0@aar'){
55
// transitive=true
66
// }
7-
implementation 'jp.wasabeef:recyclerview-animators:4.0.2'
7+
// implementation 'jp.wasabeef:recyclerview-animators:4.0.2'
88
}

packages/collectionview/platforms/android/java/com/nativescript/collectionview/RecyclerView.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
import android.view.ViewGroup;
66
import android.util.Log;
77
import androidx.recyclerview.widget.LinearSmoothScroller;
8-
import jp.wasabeef.recyclerview.animators.FadeInAnimator;
9-
import jp.wasabeef.recyclerview.animators.BaseItemAnimator;
8+
// import jp.wasabeef.recyclerview.animators.FadeInAnimator;
9+
// import jp.wasabeef.recyclerview.animators.BaseItemAnimator;
1010
import android.view.animation.OvershootInterpolator;
1111

1212
public class RecyclerView extends androidx.recyclerview.widget.RecyclerView {
1313
static final String TAG = "RecyclerView";
1414
public SizeChangedListener sizeChangedListener = null;
1515
protected com.nativescript.collectionview.SmoothScroller smoothScroller;
16-
public FadeInAnimator animator;
16+
// public FadeInAnimator animator;
1717
public RecyclerView(Context context) {
1818
this(context, null);
1919
}
@@ -27,10 +27,10 @@ public RecyclerView(Context context, android.util.AttributeSet attrs) {
2727
setDescendantFocusability(ViewGroup.FOCUS_AFTER_DESCENDANTS);
2828

2929

30-
animator = new FadeInAnimator();
30+
// animator = new FadeInAnimator();
3131
// animator.setInterpolator(new OvershootInterpolator());
32-
animator.setMoveDuration(200);
33-
setItemAnimator(animator);
32+
// animator.setMoveDuration(200);
33+
// setItemAnimator(animator);
3434
// Change animations are enabled by default since support-v7-recyclerview v22.
3535
// Need to disable them when using animation indicator.
3636
// animator.setSupportsChangeAnimations(false);

0 commit comments

Comments
 (0)