React Native FlatList Animations

  Рет қаралды 144,416

William Candillon

William Candillon

Күн бұрын

Original solution: • The 10-min React Nativ...
Wanna learn the fundamentals of declarative Gestures and Animations? Check out start-react-native.dev.
Source code: github.com/wcandillon/can-it-...
Do you like the series? You can support the channel by buying me a coffee at react-native.shop/buy-me-a-co... ☕️.
Are you sometimes asking yourself, "Can it be done in React Native"? Send me your suggestions at wcandillon@gmail.com

Пікірлер: 126
@kimbrandwijk
@kimbrandwijk 3 жыл бұрын
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!
@tamishkhurana8784
@tamishkhurana8784 4 жыл бұрын
Just wow, you motivated me more for animations after this, thanks🙏
@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 3 жыл бұрын
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
@Sahil_dhankecha
@Sahil_dhankecha 4 жыл бұрын
so jhonny sins is also a developer i am impressed
@atlaskaiser693
@atlaskaiser693 3 жыл бұрын
French dev
@chrisaka8546
@chrisaka8546 3 жыл бұрын
AHAHAHAHAHAHAHA
@yaltharullist9181
@yaltharullist9181 4 жыл бұрын
I already fell in love with your accent
@mrst8086
@mrst8086 4 жыл бұрын
Looks awesome, thanks for your example!
@lucaslaurens4208
@lucaslaurens4208 3 жыл бұрын
Really cool and fun to watch video. It's a great animation to copy. Thank you !!
@_maksime
@_maksime 4 жыл бұрын
Really interesting as usual ! Congrats
@droidmakk4968
@droidmakk4968 3 жыл бұрын
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
@oscar_cornejo
@oscar_cornejo 3 жыл бұрын
Will there be a new series of these videos or more examples, but with Reanimated 2?
@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.
@weligamage1
@weligamage1 Жыл бұрын
Thank you. keep up your good work
@trigun539
@trigun539 3 жыл бұрын
Great video, thank you!
@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.
@hyacinthehamon
@hyacinthehamon 4 жыл бұрын
Amazing as always :)
@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
@lawrencelau3771
@lawrencelau3771 4 жыл бұрын
So adorable french style english
@Jorsfel
@Jorsfel 3 жыл бұрын
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!
@wolfromkev
@wolfromkev 3 жыл бұрын
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 3 жыл бұрын
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 }] }, ]} >
@danielnegrisoli
@danielnegrisoli 4 жыл бұрын
Great tutorial!
@akhiljain5214
@akhiljain5214 3 жыл бұрын
Can you update and explain the same animation for a two column flat list ?
@joelsidy
@joelsidy 3 жыл бұрын
really cool !!! Thank you
@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
@makisetakashi
@makisetakashi 4 жыл бұрын
I love the simplest one
@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.
@SathishKumar-ju7fv
@SathishKumar-ju7fv 3 жыл бұрын
simply awesome !!
@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.
@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.
@richardpatove4587
@richardpatove4587 2 жыл бұрын
where is the first lesson for animations is there any zero to hero playlist
@SohaibKarim
@SohaibKarim 3 жыл бұрын
amazing explanation and accent 🙂 Can you do a tutorial on scratch card animation please ? It can help us with gesture + animation both.
@shortquts
@shortquts 4 жыл бұрын
Idea for another tutorial: Pinterests Masonry Image Layout
@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
@mohammedalshafie8226
@mohammedalshafie8226 3 жыл бұрын
im trying to do this with a horizintal flatlist but things got missed up can anyone help ?
@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.
@yaroslav9586
@yaroslav9586 4 жыл бұрын
You create library react native reanimated?
@rukmanaland
@rukmanaland 3 жыл бұрын
if the Flatlist is horizontal we can simply change y to x?
@kevinthomas4777
@kevinthomas4777 3 жыл бұрын
You are just amazing ❤️❤️❤️❤️
@dejijames4358
@dejijames4358 3 жыл бұрын
Hi Wonderful Video. Is there a .js version of this ? Or must it be .tsx
@rodrigososa5281
@rodrigososa5281 3 жыл бұрын
What is your opinion of react spring with react native?
@shristysinha3114
@shristysinha3114 3 жыл бұрын
what to use as an interface y and index in javascript ?
@dockies
@dockies Жыл бұрын
How do you make it scroll horizontally?
@henrybravos
@henrybravos 4 жыл бұрын
its fantastic
@rein7840
@rein7840 4 жыл бұрын
You are insane. Please more with Animated api
@wcandillon
@wcandillon 4 жыл бұрын
Thanks man, let me know if you have any suggestion
@hitechfocus
@hitechfocus 2 жыл бұрын
Amazing
@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 :)
@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 🙌🏻
@Rajibahmed
@Rajibahmed 3 жыл бұрын
really love your accent :) , Do you speak the Romansh too ?
@engelshentenawy
@engelshentenawy 4 жыл бұрын
wondering why can't you use reanimated ?
@leonelorlante2961
@leonelorlante2961 3 жыл бұрын
Awesome!
@praveensskillsoft4504
@praveensskillsoft4504 3 жыл бұрын
how to animate remove item? After remove item, the item below it should slide slowly up? can you make video on that ?
@wcandillon
@wcandillon 3 жыл бұрын
I have a video on that at kzbin.info/www/bejne/Z5WbkpKEj56fZ6c
@praveensskillsoft4504
@praveensskillsoft4504 3 жыл бұрын
@@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?
@izhanyameen3047
@izhanyameen3047 4 жыл бұрын
Coding starts at 3:57
@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.
@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
@Tech4easy2015
@Tech4easy2015 3 жыл бұрын
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 3 жыл бұрын
Hey, still looking forward to reply😊
@dq303
@dq303 3 жыл бұрын
stack navigator component in your app.js file
@amarjitsingh8954
@amarjitsingh8954 3 жыл бұрын
Because of COVID johnny also started working from home
@Tchoow
@Tchoow 3 жыл бұрын
WOW THANKS ♥
@sarmatkasaev
@sarmatkasaev 4 жыл бұрын
what color theme do you use for vscode?
@wcandillon
@wcandillon 4 жыл бұрын
Palenight Operator
@aragothkarsen5010
@aragothkarsen5010 4 жыл бұрын
Can you do the profile twitter's animated header with tabs?
@wcandillon
@wcandillon 4 жыл бұрын
I'm gonna look into it.
@VinhTruong-fo5bh
@VinhTruong-fo5bh 4 жыл бұрын
Great!
@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?
@hongngocle6979
@hongngocle6979 4 жыл бұрын
Perfect
@wcandillon
@wcandillon 4 жыл бұрын
glad you liked it :)
@jbradshaw7
@jbradshaw7 2 жыл бұрын
Nice, but I guess it only works of you have a fixed card height.
@phucwall121
@phucwall121 Жыл бұрын
My head: FlatList "why are you so handsome?" :v ♥️♥️
@HiruuykyGamer
@HiruuykyGamer 3 жыл бұрын
you're awesome
@freddyumba8332
@freddyumba8332 2 жыл бұрын
Super 👌👌👌👌
@euvictorguedes
@euvictorguedes 4 жыл бұрын
What's you theme?
3 жыл бұрын
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 3 жыл бұрын
does this video help: kzbin.info/www/bejne/g6K1n6OLeJmWsNU
@robertshawnmitchell
@robertshawnmitchell 4 жыл бұрын
hey guys, what is up?
@guleye
@guleye 3 жыл бұрын
You don't put the same code in GitHub . Sad
@motasder
@motasder 4 жыл бұрын
How to draw maps malls
@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"
@XaviXaviXavi
@XaviXaviXavi 3 жыл бұрын
Nice video! You have a french accent, isn’t it?
@JosueHerrera021
@JosueHerrera021 3 жыл бұрын
One more student.
@exploreur
@exploreur 3 жыл бұрын
Intéressant le tuto français ça ce vois a l'accent ? 😊
@14zdog
@14zdog 3 жыл бұрын
DnD flatlist please
@MLKH19
@MLKH19 Жыл бұрын
Oh le bon accent fr
@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 !
@loudcoringa5935
@loudcoringa5935 2 жыл бұрын
calvo
@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!
@jemesmemes9026
@jemesmemes9026 4 жыл бұрын
Second!
@wcandillon
@wcandillon 4 жыл бұрын
This is my first "second" on my channel, I love it :)
@c_r8256
@c_r8256 3 жыл бұрын
Tu peux le faire en français pour moi haha l'accent ta trompé !
@khaledhip361
@khaledhip361 3 жыл бұрын
Vous avez une accent française 😄
@ArnavSingh-im5bj
@ArnavSingh-im5bj 3 жыл бұрын
I love ur commentary but it lacks explanation.
@strellymbayaofficiel
@strellymbayaofficiel 3 жыл бұрын
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 3 жыл бұрын
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
William Candillon
Рет қаралды 35 М.
Instagram Stickers - “Can it be done in React Native?”
31:47
William Candillon
Рет қаралды 10 М.
Cute Barbie gadgets 🩷💛
01:00
TheSoul Music Family
Рет қаралды 67 МЛН
Be kind🤝
00:22
ISSEI / いっせい
Рет қаралды 13 МЛН
Когда на улице Маябрь 😈 #марьяна #шортс
00:17
Liquid Swipe  - “Can it be done in React Native?”
44:25
William Candillon
Рет қаралды 67 М.
Interpolation with React Native Animations
8:38
evening kid
Рет қаралды 18 М.
Riveo Page Curl - “Can it be done in React Native?”
36:50
William Candillon
Рет қаралды 17 М.
MVVM vs. MVI - Understand the Difference Once and for All
18:40
Philipp Lackner
Рет қаралды 26 М.
React Native Flexbox Explained: How to Create Powerful UI
17:15
Hitesh Choudhary
Рет қаралды 38 М.
15 crazy new JS framework features you don’t know yet
6:11
Fireship
Рет қаралды 214 М.
React Native Gesture Handler and Reanimated Tutorial
25:11
William Candillon
Рет қаралды 36 М.
React Native Transitions with Skia
23:31
William Candillon
Рет қаралды 17 М.
КАХА и Джин 2
0:36
К-Media
Рет қаралды 3,8 МЛН
ХОТЯ БЫ КИНОДА 2 - официальный фильм
1:35:34
ХОТЯ БЫ В КИНО
Рет қаралды 2,2 МЛН
#фильм #кино
0:58
MOVIE
Рет қаралды 2,9 МЛН