Тёмный

React Native FlatList Animations 

William Candillon
Подписаться 102 тыс.
Просмотров 147 тыс.
50% 1

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

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 127   
@kimbrandwijk
@kimbrandwijk 4 года назад
Just wanted to hop back in and say thanks. I was just watching this video the other week, and today, I ran into a situation where I had to add a static element to my scrollview and I suddenly remembered your neat little trick of 'cancelling out' the translation during scroll. Worked like a charm, in less than a minute. Absolute lifesaver trick I would never, ever have come up with if it wasn't for your video. Keep 'm coming!
@PVideos10
@PVideos10 4 года назад
Please do more of these tutorials with the animated api.
@wcandillon
@wcandillon 4 года назад
Message received. Will try to showcase other examples where it might make sense.
@MrLucasEss
@MrLucasEss 4 года назад
The content on this channel is pure gold!! The only thing though is that you don't give a clear explanation on why every decision was made and what each value actually means. But then it's not on you to explain every concept, that's were being an autodidact comes handy. Either way, love the content
@DUO_QUEST
@DUO_QUEST 4 года назад
so jhonny sins is also a developer i am impressed
@atlaskaiser693
@atlaskaiser693 3 года назад
French dev
@chrisaka8546
@chrisaka8546 3 года назад
AHAHAHAHAHAHAHA
@tamishkhurana8784
@tamishkhurana8784 4 года назад
Just wow, you motivated me more for animations after this, thanks🙏
@yaltharullist9181
@yaltharullist9181 4 года назад
I already fell in love with your accent
@lawrencelau3771
@lawrencelau3771 4 года назад
So adorable french style english
@wolfromkev
@wolfromkev 4 года назад
If anyone is following along to add this to their own project, a good way to get the exact height of your element is to use the onLayout props, which will automatically calculate the height of your component. const [itemHeight, setItemHeight] = useState(0); const onLayout = (e) => { setItemHeight(e.nativeEvent.layout.height); }; ...content
@wolfromkev
@wolfromkev 4 года назад
Followup: Ensure to add the margin to this value if you have one on your component. const [itemHeight, setItemHeight] = useState(0); .... ... .. . { setItemHeight(e.nativeEvent.layout.height + MARGIN); }} style={[ styles.listing, { opacity, transform: [{ translateY }, { scale }] }, ]} >
@waroulolz
@waroulolz 4 года назад
Line 35 should be "outputRange: [0, -index * (CARD_HEIGHT + 2 * MARGIN)]" right ? With a bigger list, margins add up and you would see cards disappearing before hitting the top of the screen
@mrst8086
@mrst8086 4 года назад
Looks awesome, thanks for your example!
@christianparra3162
@christianparra3162 4 года назад
Great as always! back to the basics, will be great something like this with the "hide/show header on scroll" on android is kinda tricky and almost all examples are outdated
@wcandillon
@wcandillon 4 года назад
That's a great idea.
@makisetakashi
@makisetakashi 4 года назад
I love the simplest one
@lucaslaurens4208
@lucaslaurens4208 3 года назад
Really cool and fun to watch video. It's a great animation to copy. Thank you !!
@droidmakk4968
@droidmakk4968 4 года назад
It's the end of June 2020 already and I'm all gearing up for React Native animations and transitions 😇
@loki6841
@loki6841 4 года назад
Wow can't wait to try it out
@Jorsfel
@Jorsfel 4 года назад
Excellent tutorial, thank you! Also love your accent haha, you sound more French than Swiss to me but I'm Australian so am hardly qualified to tell the difference. :p
@armaghanasghar2911
@armaghanasghar2911 3 года назад
Great observation. A large part of Beautiful Switzerland speaks French (~30%). They also speak German (~60%). William was likely raised in French speaking part of the region. Cheers!
@rein7840
@rein7840 4 года назад
You are insane. Please more with Animated api
@wcandillon
@wcandillon 4 года назад
Thanks man, let me know if you have any suggestion
@amarjitsingh8954
@amarjitsingh8954 3 года назад
Because of COVID johnny also started working from home
@_maksime
@_maksime 4 года назад
Really interesting as usual ! Congrats
@jbradshaw7
@jbradshaw7 3 года назад
Nice, but I guess it only works of you have a fixed card height.
@shortquts
@shortquts 4 года назад
Idea for another tutorial: Pinterests Masonry Image Layout
@weligamage1
@weligamage1 2 года назад
Thank you. keep up your good work
@danielnegrisoli
@danielnegrisoli 4 года назад
Great tutorial!
@trigun539
@trigun539 4 года назад
Great video, thank you!
@SathishKumar-ju7fv
@SathishKumar-ju7fv 4 года назад
simply awesome !!
@hitechfocus
@hitechfocus 3 года назад
Amazing
@joelsidy
@joelsidy 4 года назад
really cool !!! Thank you
@benrobinson6055
@benrobinson6055 4 года назад
Nice! Would be really interested to hear why reanimated wasn't suitable for this?
@wcandillon
@wcandillon 4 года назад
On Android, the frame by frame syncing of the scrollview animation value is not precise enough with reanimated. It might be fixed soon in Reanimated
@thomazcapra5535
@thomazcapra5535 2 года назад
@@wcandillon Is this answer updated?
@phucwall121
@phucwall121 Год назад
My head: FlatList "why are you so handsome?" :v ♥️♥️
@henrybravos
@henrybravos 4 года назад
its fantastic
@excalibur885
@excalibur885 4 года назад
Its perfect. Atleast not that complicated as like your other videos :) ... btw, do you planning to make this instagram textbox background effect in direct messages that i sent to you ? is it possible in react native?
@wcandillon
@wcandillon 4 года назад
Thanks man! I didn't get a change to look into it yet.
@excalibur885
@excalibur885 4 года назад
@@wcandillon thank you. Waiting with patience for it :)
@Rajibahmed
@Rajibahmed 3 года назад
really love your accent :) , Do you speak the Romansh too ?
@peymanhakemifar3671
@peymanhakemifar3671 4 года назад
nice one. thank you
@wcandillon
@wcandillon 4 года назад
Thank you for your continuous support Payman 🙌🏻
@wcandillon
@wcandillon 4 года назад
Thank you for your continuous support Payman 🙌🏻
@hongngocle6979
@hongngocle6979 4 года назад
Perfect
@wcandillon
@wcandillon 4 года назад
glad you liked it :)
@akhiljain5214
@akhiljain5214 3 года назад
Can you update and explain the same animation for a two column flat list ?
@hyacinthehamon
@hyacinthehamon 4 года назад
Amazing as always :)
@leonelorlante2961
@leonelorlante2961 3 года назад
Awesome!
@SohaibKarim
@SohaibKarim 4 года назад
amazing explanation and accent 🙂 Can you do a tutorial on scratch card animation please ? It can help us with gesture + animation both.
@kevinthomas4777
@kevinthomas4777 4 года назад
You are just amazing ❤️❤️❤️❤️
@deepakpanwar9717
@deepakpanwar9717 3 года назад
Nice tutorial mate, and please tell us which them you're using for VsCode, that's a delicious purple color theme. I want the same.
@Tchoow
@Tchoow 3 года назад
WOW THANKS ♥
@guillaumeRean
@guillaumeRean 4 года назад
Great great great :D I'm going to implement that immediatly (in left to right..) !! But do you think it can work with the snapToInterval prop of the scrollview ?
@guillaumeRean
@guillaumeRean 4 года назад
Yes it can (he said it in the video) but i've also implemented it.
@izhanyameen3047
@izhanyameen3047 4 года назад
Coding starts at 3:57
@fam8937
@fam8937 3 года назад
hello Sir. There is one problem with animations. if I have a list of dynamic items it depends on paggination, then the animation is not good.Initially it's working fine but after some item it somewhat lower than the top. experience some blank space on the top of the screen.
@misterio1980ful
@misterio1980ful 4 года назад
Hello William. I really enjoy your tutorials you are really good at coding. I got a question do you have the same tutorial in javaScript as you are using typeScript it vary a bit, I tried to create the same animation in javaScript but I struggled a bit.. Thank you again and hope you are having a great day!!!
@shristysinha3114
@shristysinha3114 3 года назад
u got a solution, i am stuck in the same.
@oscar_cornejo
@oscar_cornejo 4 года назад
Will there be a new series of these videos or more examples, but with Reanimated 2?
@lukemontana9792
@lukemontana9792 4 месяца назад
great
@HiruuykyGamer
@HiruuykyGamer 4 года назад
you're awesome
@WholeNewLevel2018
@WholeNewLevel2018 4 года назад
Awesome video! May I ask you from where I can get such a beautiful card background style. Appreciated It if you can tell me how you made them or what this kind of design called.
@freddyumba8332
@freddyumba8332 2 года назад
Super 👌👌👌👌
@aragothkarsen5010
@aragothkarsen5010 4 года назад
Can you do the profile twitter's animated header with tabs?
@wcandillon
@wcandillon 4 года назад
I'm gonna look into it.
@richardpatove4587
@richardpatove4587 2 года назад
where is the first lesson for animations is there any zero to hero playlist
@VinhTruong-fo5bh
@VinhTruong-fo5bh 4 года назад
Great!
@yaroslav9586
@yaroslav9586 4 года назад
You create library react native reanimated?
@JosueHerrera021
@JosueHerrera021 3 года назад
One more student.
@rukmanaland
@rukmanaland 4 года назад
if the Flatlist is horizontal we can simply change y to x?
@XaviXaviXavi
@XaviXaviXavi 3 года назад
Nice video! You have a french accent, isn’t it?
@robertshawnmitchell
@robertshawnmitchell 4 года назад
hey guys, what is up?
@guleye
@guleye 4 года назад
You don't put the same code in GitHub . Sad
@codigosimple1989
@codigosimple1989 2 года назад
you don't provide starter files to follow through the tutorial so in my case I couldn't follow through, I tried to run your source code but is filled with errors in my text editor and versioning problems
@praveensskillsoft4504
@praveensskillsoft4504 4 года назад
how to animate remove item? After remove item, the item below it should slide slowly up? can you make video on that ?
@wcandillon
@wcandillon 4 года назад
I have a video on that at ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-1d8a_NZ9l1E.html
@praveensskillsoft4504
@praveensskillsoft4504 4 года назад
@@wcandillon thanks for the prompt response. I have gone through and used varying the height of card. Its fine but some glitches as my card is of variable height, anyway to handle that?
@dockies
@dockies 2 года назад
How do you make it scroll horizontally?
@dejijames4358
@dejijames4358 3 года назад
Hi Wonderful Video. Is there a .js version of this ? Or must it be .tsx
@shristysinha3114
@shristysinha3114 3 года назад
what to use as an interface y and index in javascript ?
@linbook955
@linbook955 4 года назад
hi,what recording software were you using? your image on the bottom left,how did you make it? thank you so much
@mohammedalshafie8226
@mohammedalshafie8226 4 года назад
im trying to do this with a horizintal flatlist but things got missed up can anyone help ?
@aftabamin8508
@aftabamin8508 3 года назад
Hello, I need a flat list with optimization for the contact list. could you create a video for this? I didn't find a single thing on this. I have tried all the given solutions on the internet and perform all the optimization.
@sarmatkasaev
@sarmatkasaev 4 года назад
what color theme do you use for vscode?
@wcandillon
@wcandillon 4 года назад
Palenight Operator
@engelshentenawy
@engelshentenawy 4 года назад
wondering why can't you use reanimated ?
4 года назад
there is a tutorial of how use expo, im trying to follow the tutorials with the boilerplates pero doesnt work, thanks a lot for this.
@wcandillon
@wcandillon 4 года назад
does this video help: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-MqRnpUC4czs.html
@rodrigososa5281
@rodrigososa5281 4 года назад
What is your opinion of react spring with react native?
@shristysinha3114
@shristysinha3114 3 года назад
hello sir, i have two doubts , ,instead of typescript i am using js, and since u have used in walletCard.tsx -> y as Animated.Value in interface and i have taken the y state as props from wallet.tsx -> like this -> const[y, setY ] =useState(new Animated.Value(0)); and using this as as prop in walletCardd.tsx and the other doubt is : how i should used the interface 'index: number' in my interpolate -> inputRange: [0, 0.00001 + index * CARD_HEIGHT], i have taken 'index' as prop from previous component. Please help me
@MLKH19
@MLKH19 2 года назад
Oh le bon accent fr
@14zdog
@14zdog 4 года назад
DnD flatlist please
@exploreur
@exploreur 3 года назад
Intéressant le tuto français ça ce vois a l'accent ? 😊
@Tech4easy2015
@Tech4easy2015 4 года назад
Hey! Noob question. But how would I go about navigating to another screen when clicking a card. My idea is to have different navigation pages for each card
@Tech4easy2015
@Tech4easy2015 4 года назад
Hey, still looking forward to reply😊
@dq303
@dq303 3 года назад
stack navigator component in your app.js file
@gekoskipatric
@gekoskipatric 2 года назад
why did you use Animated from React instead of reanimated?
@vasylnahuliak
@vasylnahuliak Год назад
02:03 "We had to use the vanilla animated API from react native because here using reanimated that on Android we couldn't get frame by frame full control over the way the element moves"
@MatteoGauthier
@MatteoGauthier 4 года назад
Salut est-ce que tu pourrais faire ses vidéos en Français ?
@wcandillon
@wcandillon 4 года назад
Malheureusement ce n'est pas encore prévu Matthèo. J'apprends l'allemand en ce moment, je devrai essayer de faire une vidéo en allemand 😅
@MatteoGauthier
@MatteoGauthier 4 года назад
@@wcandillon D'accord pas de soucis, en tout cas merci pour ces vidéos de qualités !
@euvictorguedes
@euvictorguedes 4 года назад
What's you theme?
@motasder
@motasder 4 года назад
How to draw maps malls
@alexandrodisla6285
@alexandrodisla6285 3 года назад
Mon ami peux-tu encourager un de tes confrères de faire casiment le meme travail que toi, mais avec Flutter.
@karlj.5730
@karlj.5730 3 года назад
what is your brain made of? just wow!
@c_r8256
@c_r8256 4 года назад
Tu peux le faire en français pour moi haha l'accent ta trompé !
@ArnavSingh-im5bj
@ArnavSingh-im5bj 4 года назад
I love ur commentary but it lacks explanation.
@loudcoringa5935
@loudcoringa5935 2 года назад
calvo
@khaledhip361
@khaledhip361 4 года назад
Vous avez une accent française 😄
@jemesmemes9026
@jemesmemes9026 4 года назад
Second!
@wcandillon
@wcandillon 4 года назад
This is my first "second" on my channel, I love it :)
@strellymbayaofficiel
@strellymbayaofficiel 4 года назад
Ton Anglais est terrible !! Mdr !! ça c'est lorsqu'un français cherche à parler le chinois !!
@ahmedbrhili1965
@ahmedbrhili1965 3 года назад
Stp parle en français c'est mieux wallah
@jagdishsinhjadeja9623
@jagdishsinhjadeja9623 4 года назад
Flutter is better than react native.
@BuenaEzekiel
@BuenaEzekiel 4 года назад
OK.
@vkray
@vkray 4 года назад
Modi is gay.
@aftabamin8508
@aftabamin8508 3 года назад
Hello, I need a flat list with optimization for the contact list. could you create a video for this? I didn't find a single thing on this. I have tried all the given solutions on the internet and perform all the optimization.
Далее
The 10-min React Native Wallet Animation
14:36
Просмотров 36 тыс.
Liquid Swipe  - “Can it be done in React Native?”
44:25
КОТЯТА НАУЧИЛИСЬ ГОВОРИТЬ#cat
00:13
The Most Important Design Pattern in React
35:04
Просмотров 62 тыс.
Time to Fly
23:42
Просмотров 25 тыс.
The Basics of React Native animations
5:45
Просмотров 47 тыс.
React Native vs Flutter - Which should you use?
22:31
Interpolation with React Native Animations
8:38
Просмотров 19 тыс.
10 EPIC React Native Animation Libraries
13:33
Просмотров 22 тыс.
#2 Slider - React Native Fashion
48:15
Просмотров 83 тыс.