diff --git a/library/src/com/nhaarman/listviewanimations/swinginadapters/AnimationAdapter.java b/library/src/com/nhaarman/listviewanimations/swinginadapters/AnimationAdapter.java
index <HASH>..<HASH> 100644
--- a/library/src/com/nhaarman/listviewanimations/swinginadapters/AnimationAdapter.java
+++ b/library/src/com/nhaarman/listviewanimations/swinginadapters/AnimationAdapter.java
@@ -144,7 +144,7 @@ public abstract class AnimationAdapter extends BaseAdapterDecorator {
     }
 
     private void animateViewIfNecessary(int position, View view, ViewGroup parent) {
-        boolean isMeasuringGridViewItem = parent.getHeight() == 0;
+        boolean isMeasuringGridViewItem = getAbsListView() instanceof GridView && parent.getHeight() == 0;
 
         if (position > mLastAnimatedPosition && mShouldAnimate && !isMeasuringGridViewItem) {
             animateView(position, parent, view);
We're only measuring GridView items if we're actually showing a GridView. Possible fix for #<I>.