Skip to content

Commit 8b23135

Browse files
Alex Maderafacebook-github-bot
authored andcommitted
Make RecyclerCollectionComponentSpec recyclerTouchEventHandler @nullable
Summary: TSIA Reviewed By: adityasharat Differential Revision: D66987656 fbshipit-source-id: 5ce7bfaa0723f5136c8c0e1c23c81a62919cc8d6
1 parent 4435c86 commit 8b23135

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

litho-sections-widget/src/main/java/com/facebook/litho/sections/widget/RecyclerCollectionComponentSpec.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public class RecyclerCollectionComponentSpec {
174174
@Prop(optional = true, resType = ResType.DIMEN_SIZE) int topPadding,
175175
@Prop(optional = true, resType = ResType.DIMEN_SIZE) int bottomPadding,
176176
@Prop(optional = true) boolean disableAddingPadding,
177-
@Prop(optional = true) EventHandler<TouchEvent> recyclerTouchEventHandler,
177+
@Prop(optional = true) @Nullable EventHandler<TouchEvent> recyclerTouchEventHandler,
178178
@Prop(optional = true) boolean horizontalFadingEdgeEnabled,
179179
@Prop(optional = true) boolean verticalFadingEdgeEnabled,
180180
@Prop(optional = true) boolean isLeftFadingEnabled,

0 commit comments

Comments
 (0)