Skip to content

Commit 95146e4

Browse files
committed
Merge pull request etsy#86 from davejohncole/master
Fix the adapter index to getItemId() to include the mFirstPosition offse...
2 parents 6d2d653 + ba66741 commit 95146e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/etsy/android/grid/ExtendableListView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2744,7 +2744,7 @@ public void run() {
27442744
final View view = getChildAt(motionPosition); // a fix by @pboos
27452745

27462746
if (view != null) {
2747-
performItemClick(view, motionPosition + mFirstPosition, adapter.getItemId(motionPosition));
2747+
performItemClick(view, motionPosition + mFirstPosition, adapter.getItemId(motionPosition + mFirstPosition));
27482748
}
27492749
}
27502750
}

0 commit comments

Comments
 (0)