React Native FlatList scrollToIndex with Fixed or Variable Row Size

Publié le: 30 octobre 2020
sur la chaîne: SyntaxByte
15,991
122

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...


Sur cette page du site, vous pouvez voir la vidéo en ligne React Native FlatList scrollToIndex with Fixed or Variable Row Size durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur SyntaxByte 30 octobre 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 15,991 fois et il a aimé 122 téléspectateurs. Bon visionnage!