-
Notifications
You must be signed in to change notification settings - Fork 82
ChangeLog
Vito Chen edited this page Jun 16, 2017
·
5 revisions
- optimized the code and removed redundant statements
- updated README
- fixed emptyView shows at the first loading
- fixed columnWrapperStyle
- add a default key to FlatList to avoid error when changing the numColumns at the runtime
- removed all codes related to ListView
- keep FlatList simple but robust
- lengecyImplementation won't work anymore
- last stable version supports ListView is: v3.0.2
- Updated props:
-
rowContainerStyle->columnWrapperStyle -
gridColumns->numColumns -
headerView->header -
rowView->item - updated methods:
-
scrollTo->scrollToIndex
- Migrated to support react-native 0.43 or above
- Supported both of FlatList and ListView
- FlatList brings high performance and excellent memory control
- New props
legacyImplementation,refreshableTitle,cellContainerStyle,rowContainerStyle -
renderRowView(item, index)now takes a different callback with two paramsitem,index - In the FlatList, to use grid-view layout, only need to set
gridColumn&rowContainerStyle - In the ListView, only the
gridColumnis required, and you can also set `cellContainerStyle
- Added an advanced version of RefreshView and kept the RefreshControl as a basic version
- Updated the RefreshView API
- You can switch there two modes by passing props refreshableMode:'basic' or 'advanced'
- this.onFetch(page=1, startFetch, abortFetch), now it takes three diffrent callback
- Added a Wiki to provide you a better experience