Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- 배열중복요소제거
- Next.js
- TS
- Spring
- async
- 스크롤이벤트
- err_connection_refused
- 상속
- 이진탐색
- 타입스크립트
- react
- Filter
- 슬라이딩윈도우
- interface
- array
- extends
- set
- mainapplication.kt
- app.post
- javascript
- reactnative error
- npm에러
- 리액트네이티브아이콘
- materialicons
- map
- app:compiledebugkotlin
- reactnative
- generic
- forwardref type
- 안드로이드빌드에러
Archives
- Today
- Total
목록RefreshControl (1)
rhanziy
React Native - 아래로 끌어내려서 새로고침 RefreshControl
RefreshControl 스크롤뷰(scrollView)나 리스트뷰(FlatList)에서 상단에서 하단으로 끌어내려서 새로고침할 수 있는 기능이다. 🔽 공식문서 코드 import React from 'react'; import { RefreshControl, SafeAreaView, ScrollView, StyleSheet, Text, } from 'react-native'; const App = () => { const [refreshing, setRefreshing] = React.useState(false); const onRefresh = React.useCallback(() => { setRefreshing(true); setTimeout(() => { setRefreshing(false); }..
React Native
2023. 11. 23. 22:58