1.5.2 • Published 6 years ago
react-native-refreshable-useful v1.5.2
react-native-refreshable-useful
a high-perf refreshable & loadMore component
- support ReacNative 0.42 - 0.47
- support iOS / Android
- support ScrollView / ListView
- support refresh / loadMore
- support swipeout
- support auto paging manage
Install
Supports
Platform
- Android
- iOS
Component
- ListView
- ScrollView
- SwipeoutListView
Todo List
- FlatList (react-native > 0.42)
- Native Animation (react-native > 0.43)
Run Example
import React from 'react';
import { AppRegistry } from 'react-native';
/* enable views */
import { ListView, ScrollView, SwipeoutListView } from 'react-native-refreshable-useful';
import ExampleSwipeout from 'react-native-refreshable-useful/example/swipeout';
AppRegistry.registerComponent('xxxx', ()=>ExampleSwipeout);
Documents
ListView
Prop Name | Type | Default | Description | Platform |
---|---|---|---|---|
onRefresh | Function | null | on refresh animate start | / |
data | Array | [] | default list | / |
pageSize | Number | 10 | pageSize for paging | / |
renderGotoTop | Function | null | gotoTop Btn options | / |
renderFooter | Function | null | footer options | / |
dftFooter | Boolean | false | use default footer | / |
renderBeforeList | Function Array | [] | before renderRow | / |
removeClippedSubviews | Boolean / Object | true | if you used ViewPagerAndroid, set it as {android: false} | / |
... | ... | ... | any ListView Props | / |
SwipeoutListView
Prop Name | Type | Default | Description | Platform |
---|---|---|---|---|
getLeftBtns | Function | null | function return swipeLeft Btns | / |
getRightBtns | Function | null | function return swipeRight Btns | / |
... | ... | ... | extends ListView | / |
ScrollView
Prop Name | Type | Default | Description | Platform |
---|---|---|---|---|
onRefresh | Function | null | ... | / |
removeClippedSubviews | Boolean / Object | true | ... | / |
... | ... | ... | any ScrollView Props | / |
1.5.2
6 years ago
1.5.1
7 years ago
1.5.0
7 years ago
1.4.9
7 years ago
1.4.8
7 years ago
1.4.7
7 years ago
1.4.6
7 years ago
1.4.5
7 years ago
1.4.4
7 years ago
1.4.3
7 years ago
1.4.2
7 years ago
1.4.1
7 years ago
1.4.0
7 years ago
1.3.9
8 years ago
1.3.8
8 years ago
1.3.7
8 years ago
1.3.6
8 years ago
1.3.5
8 years ago
1.3.4
8 years ago
1.3.3
8 years ago
1.3.2
8 years ago
1.3.1
8 years ago
1.3.0
8 years ago
1.2.2
8 years ago
1.2.1
8 years ago
1.2.0
8 years ago
1.1.9
8 years ago
1.1.8
8 years ago
1.1.7
8 years ago
1.1.6
8 years ago
1.1.5
8 years ago
1.1.4
8 years ago
1.1.3
8 years ago
1.1.2
8 years ago
1.1.1
8 years ago
1.1.0
8 years ago
1.0.9
8 years ago
1.0.8
8 years ago
1.0.7
8 years ago
1.0.6
9 years ago
1.0.5
9 years ago
1.0.4
9 years ago
1.0.3
9 years ago
1.0.2
9 years ago
1.0.1
9 years ago
1.0.0
9 years ago