FlatList support
See original GitHub issueWill this move to FlatList instead of ListView ??
FlatList has a handy feature scrollToItem
that I would like to use with this library.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:18
- Comments:8
Top Results From Across the Web
FlatList - React Native
A performant interface for rendering basic, flat lists, supporting the most handy features: Fully cross-platform. Optional horizontal mode.
Read more >A deep dive into React Native FlatList - LogRocket Blog
FlatList is a React Native component that allows you to render lists with zero hassle ... FlatList also has support for header components....
Read more >Features of React Native FlatList - eduCBA
Features of React Native Flatlist · Pull to refresh support · Header support · Footer support · Separator support · Scroll loading support...
Read more >Displaying a List in React Native: Map Method or FlatList ...
Scroll to a specific position in the list; Multiple column support. Under the hood, FlatList uses the ScrollView component to render scrollable elements....
Read more >FlatList · React Native
Scroll loading. ScrollToIndex support. If you need section support, use <SectionList> . Minimal Example: <FlatList data={ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Will be uploading my FlatList version of this library to a repo soon. It is a WIP. Would love some assistance with finishing it off. For anyone interested I will post a link here when it is up.
@vTrip the scrollToItem can be easly done using current code.
you can use internal layoutMap which contains array of all rows layouts (xPos, yPox, height, width)
Example function:
I use it to scroll when adding new element or on load. I’m using setTimeout as i’m waiting for redux to update the store and for list to catch up with the data update.