diff --git a/library/src/main/java/com/twotoasters/jazzylistview/JazzyHelper.java b/library/src/main/java/com/twotoasters/jazzylistview/JazzyHelper.java index 3d96e9d..7a75e20 100644 --- a/library/src/main/java/com/twotoasters/jazzylistview/JazzyHelper.java +++ b/library/src/main/java/com/twotoasters/jazzylistview/JazzyHelper.java @@ -209,6 +209,8 @@ private void doJazziness(View item, int position, int scrollDirection) { } private void doJazzinessImpl(View item, int position, int scrollDirection) { + if(item == null){return;} + ViewPropertyAnimator animator = item.animate() .setDuration(DURATION) .setInterpolator(new AccelerateDecelerateInterpolator());