In this video, I show you how to use the scrollToIndex function to scroll to a row with a certain index in a ReactNative FlatList. First I show how to implement getItemLayout to get the function working on a list with items of a fixed size, and then how to use onScrollToIndexFailed to get scrollToIndex working on a list where the list items are of a variable dynamic size.
Source code: https://syntaxbytetutorials.com/react...
On this page of the site you can watch the video online React Native FlatList scrollToIndex with Fixed or Variable Row Size with a duration of hours minute second in good quality, which was uploaded by the user SyntaxByte 30 October 2020, share the link with friends and acquaintances, this video has already been watched 15,991 times on youtube and it was liked by 122 viewers. Enjoy your viewing!