as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
@amazon-devices/react-native-pager-view provides support on Kepler for PagerView library 3P PagerView by Callstack using the Stable API. The Pager View component makes it easy to handle paginaton with dynamic views. It allows user to swipe left and right through pages of data.

Installation

  1. Add the JavaScript library dependency in the package.json file. Select the tab for your React Native version.

  1. Reinstall dependencies using npm install command.

Examples

API Supported on Vega

Component API

Methods

Exceptions on Vega

  • scrollEnabled is not supported on Vega platform.
  • setScrollEnabled(scrollEnabled: boolean) is not supported on Vega platform.
  • overDrag is supported if overScrollMode is not supplied.
  • layoutDirection not supported by component, handled in native implementation in Vega.

D-Pad navigation with nested PagerViews

When navigating with the D-Pad from a focused element inside a nested PagerView, pressing a direction perpendicular to the pager’s scroll axis (for example, up/down on a horizontal PagerView) may cause focus to jump to an adjacent page of the outer PagerView instead of the nearest element outside it. This behavior occurs specifically with nested PagerView configurations and does not affect single-level PagerView usage.
最后修改于 2026年7月10日