Тёмный

React Native Flash List Basic Setup 

Arslan
Подписаться 7 тыс.
Просмотров 4,3 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@JohanHolm-k6h
@JohanHolm-k6h Год назад
The estimatedItemSize is not the item array size but rather the estimated "pixel" height of one item.
@arslan99
@arslan99 Год назад
Oh my bad. I thought it was array size I'll pin this comment just so other devs see
@UjithNimantha
@UjithNimantha Год назад
Can you use pagination with this? Like if I want to make an infinite loading on scroll.
@arslan99
@arslan99 Год назад
I'm not too sure sorry
@mr_lemonade_007
@mr_lemonade_007 11 месяцев назад
yes you can
@bengal988
@bengal988 11 месяцев назад
I get huge blank spaces when scrolling up/down, same with RecyclerListView library
@arslan99
@arslan99 11 месяцев назад
Oh uhhh there should be a prop to stop that but I'm not too sure what that was
@maXXik1337
@maXXik1337 11 месяцев назад
for regular FlatList prop is called windowsSize
@bengal988
@bengal988 11 месяцев назад
@@maXXik1337 I tried every prop in the docs, the library doesn't work well with logic heavy components. Huge white spaces whilst scrolling makes it unusable
@maXXik1337
@maXXik1337 11 месяцев назад
@@bengal988 Ye, optimizing heavy components is very tricky and FlatList performance is big disadvantage of RN for sure. You can try to play around with memo() or useMemo() but it is complicated.
@abrar9596
@abrar9596 7 месяцев назад
​@@bengal988are you able to resolve this issue?
@Krishnasaini
@Krishnasaini Год назад
have you tried it on android ?
@arslan99
@arslan99 Год назад
Yup so in the beginning of the video I have two emulators the emulator on the right is Android
@Krishnasaini
@Krishnasaini Год назад
@@arslan99 i am getting this error - autolayoutview was not found in the UI manager. On diving deep, i found solution 'pod install' for iOS, but no solution for Android. This error comes when the library that you are using requires native dependencies that have not been linked to your react native project. Any solution you have ?
@arslan99
@arslan99 Год назад
@@Krishnasaini this link should help github.com/Shopify/flash-list/issues/588#issuecomment-1433934828
@Krishnasaini
@Krishnasaini Год назад
Hey i am new to development field. Is this link suggesting to change kotlin version. If yes, how can I do that. I am suing react native
@arslan99
@arslan99 Год назад
@@Krishnasaini yes so you'd have to update gradle in your Android folder and I agree I'd sue them too 🤣🤣
Далее
Full React Native Course | Build An Anime App
3:25:41
Просмотров 1,3 тыс.
FlatList is killing the performance of your app
10:04
#kikakim
00:17
Просмотров 8 млн
React Native vs Flutter - Which should you use?
22:31
This Guys So Strong, No One Can Beat Him...
8:42
Просмотров 25 млн
MLB Unexpected Delays
4:52
Просмотров 15 млн