Skip to content

Commit 80cd42e

Browse files
authored
Remove the unneeded computeScrollOffset call (#456)
1 parent feea71a commit 80cd42e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flexbox/src/main/java/com/google/android/flexbox/FlexboxLayoutManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2227,7 +2227,7 @@ public int computeHorizontalScrollOffset(RecyclerView.State state) {
22272227
if (DEBUG) {
22282228
Log.d(TAG, "computeHorizontalScrollOffset: " + scrollOffset);
22292229
}
2230-
return computeScrollOffset(state);
2230+
return scrollOffset;
22312231
}
22322232

22332233
@Override

0 commit comments

Comments
 (0)