as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
ViewToken object is returned as one of properties in the onViewableItemsChanged callback, for example in FlatList component. It is exported by ViewabilityHelper.js.

Example

Keys and values

index

Unique numeric identifier assigned to the data element.

isViewable

Specifies if at least some part of list element is visible in the viewport.

item

Item data

key

Key identifier assigned of the data element extracted to the top level.

section

Item section data when used with SectionList.

Used by


最后修改于 2026年10月26日