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...
In questa pagina del sito puoi guardare il video online React Native FlatList scrollToIndex with Fixed or Variable Row Size della durata di ore minuti seconda in buona qualità , che l'utente ha caricato SyntaxByte 30 ottobre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 15,991 volte e gli è piaciuto 122 spettatori. Buona visione!