Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native flatlist get visible items

const component = () => {
  	const onViewableItemsChanged = useRef(() => {
    
    })

    return (
      <FlatList
        onViewableItemsChanged={onViewableItemsChanged.current}
        viewabilityConfig={{
          itemVisiblePercentThreshold: 100
        }}
      />
    )
 }
 
PREVIOUS NEXT
Tagged: #react #native #flatlist #visible #items
ADD COMMENT
Topic
Name
4+5 =