How many items to render in the initial batch.
This should be enough to fill the screen but not much more.
Note these items will never be unmounted as part of the windowed rendering in order to
improve perceived performance
of scroll-to-top actions.
How many items to render in the initial batch.
This should be enough to fill the screen but not much more.
Note these items will never be unmounted as part of the windowed rendering in order to
improve perceived performance
of scroll-to-top actions.
Optional keyExtractor
keyExtractor:undefined | function
handle any type of index-based data
handle any type of index-based data
last
last:number
Optional maxToRenderPerBatch
maxToRenderPerBatch:undefined | number
Optional onEndReachedThreshold
onEndReachedThreshold:undefined | function
recordInteraction
recordInteraction:function
Type declaration
(): void
Returns void
Optional scrollEventThrottle
scrollEventThrottle:undefined | function
scrollToEnd
scrollToEnd:function
Type declaration
(params?: undefined | object): void
Parameters
Optional params: undefined | object
Returns void
scrollToIndex
scrollToIndex:function
Type declaration
(params: object): void
Parameters
params: object
Returns void
scrollToItem
scrollToItem:function
Type declaration
(params: object): void
Parameters
params: object
Returns void
scrollToOffset
scrollToOffset:function
Scroll to a specific content pixel offset in the list.
Param offset expects the offset to scroll to. In case of horizontal is true,
the offset is the x-value, in any other case the offset is the y-value.
Param animated (true by default) defines whether the list should do an animation while scrolling.
Scroll to a specific content pixel offset in the list.
Param offset expects the offset to scroll to. In case of horizontal is true,
the offset is the x-value, in any other case the offset is the y-value.
Param animated (true by default) defines whether the list should do an animation while scrolling.
key for others property.