This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
PullToRefreshBox
A Jetpack Compose PullToRefreshBox component for pull-to-refresh interactions.
Android
Recommended version:
~55.0.17
Expo UI PullToRefreshBox matches the official Jetpack Compose PullToRefreshBox API. It wraps scrollable content and shows a refresh indicator when pulled.
Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
Basic pull to refresh
Wrap scrollable content in a PullToRefreshBox to add pull-to-refresh behavior.
BasicPullToRefresh.tsx
Custom indicator colors
Use the indicator prop to customize the spinner and container colors.
CustomIndicatorColors.tsx
API
import { PullToRefreshBox } from '@expo/ui/jetpack-compose';
No API data file found, sorry!