-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How Swipable List use FlatList not ListView? #1430
Comments
@Jancat Pasting a sample code
Gif |
@akhil-geekyants Thanks, I thought about this way using renderItem={({ item }) => (
<TouchableHighlight onPress={() =>alert('press')}> // don't alert
<SwipeRow ... />
</TouchableHighlight >
) I want to know whether there is a plan to use FlatList in Swipable List for better performance? |
yes, NativeBase will be using FlatList in the upcoming major release. |
Fixed with 2.3.6 |
Does NativeBase 2.12.0 use FlatList for Swipable List too @akhil-geekyants ? |
@akhil-geekyants do you know if NativeBase ever switched over to |
react-native, react and native-base version
react-native 0.49
react 16.0.0
native-base 2.3.4
Expected behaviour
Use Swipable List with recommended FlatList
Actual behaviour
Now the example in the docs using Swipable List with depleted ListView
Steps to reproduce (code snippet or screenshot)
Question
How can I use
FlatList
with Swipeable List and Swipeable Row?The text was updated successfully, but these errors were encountered: