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...
На этой странице сайта вы можете посмотреть видео онлайн React Native FlatList scrollToIndex with Fixed or Variable Row Size длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь SyntaxByte 30 Октябрь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 15,991 раз и оно понравилось 122 зрителям. Приятного просмотра!