React Native Scroll Item animation effect - FlatList and Animated API

  Рет қаралды 128,387

Catalin Miron

Catalin Miron

Күн бұрын

Пікірлер: 268
@yashaskirito
@yashaskirito 3 жыл бұрын
This channel is a gold mine, all for the taking ✨
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Thank you Yashas ✌️
@faizanansari975
@faizanansari975 3 жыл бұрын
@@CatalinMironDev bro i have been stuck on creating a time picker where the scroll is looping means in vertical scroll at the top of first index the last index is shown u can scroll it in loop either upward or downward so can u please make demo how to achieve at time picker as ios using React native please
@playology1740
@playology1740 3 жыл бұрын
Honestly speaking you are my mentor.. I am learning Animation through your tutorials. I am using your tutorial as the guiding book in my application. I am basically using the techniques which you have taught in your tutorials. Thank you so much for delivering such remarkable tutorials.
@simons9693
@simons9693 Жыл бұрын
At first I was not interested, now I follow you and sometimes I watch your videos for fun. You are the king of animations.
@Tech-3883
@Tech-3883 2 ай бұрын
king of animation . Thank you
@techienomadiso8970
@techienomadiso8970 3 жыл бұрын
This kind of content is rare to find! Thanks Catalin! Great Salutes from Kenya!
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Thanks a lot Francis, it means a lot to me ✌️Greetings from Romania 🇷🇴
@ariyaman90
@ariyaman90 3 жыл бұрын
I can't understand why some people didn't like it. It was very nice. Thank you
@myrelaxpoint
@myrelaxpoint 3 жыл бұрын
I wish this channel soon gets million subs. Your content is pure gold.
@re.liable
@re.liable 3 жыл бұрын
That's amazing. I'm just starting to learn React Native. Will definitely make use of all the tips you give!
@harshjain4256
@harshjain4256 3 жыл бұрын
I was searching for this animation all over the intenet and finally u made a video
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
I’m glad that this helped you. Thanks Harsh ✌️
@harshjain4256
@harshjain4256 3 жыл бұрын
@@CatalinMironDev can you also make animation tutorials on flutter?
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
@@harshjain4256 I'm not a Flutter developer and I've never played with it and I don't have any plans on doing any Flutter tutorials in the future. Thanks ✌️
@prakashmardi25
@prakashmardi25 3 жыл бұрын
interested in working with me Harsh in a crypto trading app?
@harshjain4256
@harshjain4256 3 жыл бұрын
@@prakashmardi25 tell me the details
@deckbietcaijhet
@deckbietcaijhet 3 жыл бұрын
Just found your chanel, come from vuejs and android studio, now i am learning Reactjs and React Native, great content subscribed !
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Thank you. I hope that you’ll learn something new here, feel free to leave a comment if you have any issues, I’ll do my best to help you as much as I can. There’s also a discord link in the description, you can join the channel and ask there for help. Thanks ✌️
@Hirbodffm
@Hirbodffm 3 жыл бұрын
This was by far the best explained animated flatlist video I’ve seen. Hopefully we will see Animated2 content as well :)
@cherishmashree7302
@cherishmashree7302 3 жыл бұрын
Amazing Bro!! The animation works perfectly. Very detailed explanation. You are doing great. Keep posting such videos.
@hansderly
@hansderly 3 жыл бұрын
You really should create a course on animation for React Native! Good Work!
@nats7367
@nats7367 3 жыл бұрын
This is so great! I wish your videos get recommended by YT to gain more subs
@ZiosNeon
@ZiosNeon 3 жыл бұрын
One of the best react native channels out there, you are awesome.
@almobarmij
@almobarmij 3 жыл бұрын
As always you make premium content with highest quality. Keep it up Catalin.
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Much appreciated! Thank you Mohamed! ✌️
@jeffwebb101
@jeffwebb101 Жыл бұрын
Thanks, helped me understand and implement Flatlist and get a great stylish animated list. 👍👍
@BopBeef
@BopBeef Жыл бұрын
Thank you for this i just animated my horizontal scroll with this tutorial
@cfo3049
@cfo3049 6 ай бұрын
Great example, thank´s for your work.
@alon77777
@alon77777 3 жыл бұрын
Super useful, I will definitely try to use it in one of my next projects. As always Catalin, thanks for sharing!
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Thanks a lot Alon. Don’t forget to share it with us ✌️
@coderbites
@coderbites Жыл бұрын
You are great Catalin Miron lots of love 😘 I have learned to much from you 🙂
@viralchudasama3624
@viralchudasama3624 3 жыл бұрын
You are amazing bro, your teaching technique is also easy to learn. Thanks for the best tutorials Keep going 👍
@alexzil2142
@alexzil2142 2 жыл бұрын
If you're frustrated and confused as to why whenever you are scrolling, at some point it doesn't start at the top, it's because you are not properly accounting for the height of the parent views and equally the margin you might have given on the each parent view. Here is what I did different: const [viewHeight, setViewHeight] = useState(null) const onLayout=(event)=> { setIsLoadingViewHeight(true) const {x, y, height, width} = event.nativeEvent.layout; if (!viewHeight) setViewHeight(height) setIsLoadingViewHeight(false) } // This function gets the view's height. var inputRange = [-1,0,1,1] if (viewHeight) { inputRange = [ -1, 0,((viewHeight * index) + (index * 20)),(viewHeight * (index + 5) + (index * 20)) ] } const scale = scrollY.interpolate({ inputRange, outputRange: [1,1,1,0], extrapolate: "clamp" }) I gave my each of my parent view a margin Vertical of 20. And in order to account for this, you need to multiply the index by 20 then add it to the view height multiplied by the index too. Remember you are trying to calculate the distance between the top and each view in order to say when to begin and stop animation. In a scrollview, the distance increase on each scroll and the margin is equally included in the distance. Hopefully this helps someone!!!! cheers
@fidelendzime6733
@fidelendzime6733 Жыл бұрын
good night brother; your comment is not clear you use variables that you have not defined, you declare a function that you never use,...
@alexzil2142
@alexzil2142 Жыл бұрын
@@fidelendzime6733 okay bro. Sleep tight.
@fidelendzime6733
@fidelendzime6733 Жыл бұрын
@@alexzil2142 I say it because I want to understand. I am blocked
@fidelendzime6733
@fidelendzime6733 Жыл бұрын
@@alexzil2142 Need your help please
@alexzil2142
@alexzil2142 Жыл бұрын
@@fidelendzime6733 I’ll check again and try to paste my code below your reply. Currently can’t do it now. Maybe about 10 - 12 hours from now. Or earlier
@arnabganguly6220
@arnabganguly6220 3 жыл бұрын
Your animation tutorials really helped me a lot. 💕
Жыл бұрын
Really nice job
@Sami-mm
@Sami-mm 3 жыл бұрын
Awesome!! Really like your way explaining and gives me new ideas to explore too :)
@kikebecerra
@kikebecerra 3 жыл бұрын
Mindblowner tutorial 👏👏👏
@charithagoonewardena3095
@charithagoonewardena3095 3 жыл бұрын
Waiting for the next one. Addicted!
@umerfarooq8618
@umerfarooq8618 2 жыл бұрын
You have amazing content surprised u should be having a ton more subscribers
@isaaccastillo8628
@isaaccastillo8628 3 ай бұрын
Catalin you are amazing! God and LORD Jesus bless you so much! Many greetings from Chile dear friend!
@CatalinMironDev
@CatalinMironDev Ай бұрын
Thank you so much!
@charithagoonewardena3095
@charithagoonewardena3095 3 жыл бұрын
Let's goooo. Thanks for this. This is great
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
I’m glad you found it useful. Cheers Charitha ✌️
@korpemre
@korpemre 3 жыл бұрын
Why I find every video of yours great 👏👏
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Thanks Emre, I’m glad you found all of them useful! Cheers ✌️
@mojo_jojo16
@mojo_jojo16 3 жыл бұрын
Thank you very much for your tutorial videos, Mr. Miron. By the way, friends, I found the beautiful music playing in the background:) Dan Henig-Empire Seasons. With this music we can create beautiful animations.:))))
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Thanks! I think that I’ve mentioned it in some past comments. Cheers ✌️
@marcellopisciottano5338
@marcellopisciottano5338 3 жыл бұрын
Excellent, thank you very much for sharing! Very clear, very good instruction for each property. And with a Faker bonus, amazing! Keep it up.
@007gambo
@007gambo 3 жыл бұрын
Great work! Please make video about Facebook style pinch to zoom ability (PinchGestureHandler)
@anastely6144
@anastely6144 3 жыл бұрын
As always 🔥, Thanks Catalin 🤞
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Thanks a lot Anas ✌️
@sujatagunale7079
@sujatagunale7079 3 жыл бұрын
Me waiting for your videos is like Me waiting for holidays 😂 .. Need more & more .. Your way is more superficial than prior .. Thank you for creating 💜
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Thank you so much Sujata, it means a lot to me ✌️
@rvdev3800
@rvdev3800 2 жыл бұрын
Very good explanation, thank you!
@cristiancamilosanchezardil9730
@cristiancamilosanchezardil9730 3 жыл бұрын
Which iPhone emulator do you use? Thank you for tutorial is awesome
@principe.borodin
@principe.borodin 3 жыл бұрын
Fantastic, Awesome.
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Great! Thanks Igor ✌️
@alaspuresujay
@alaspuresujay 3 жыл бұрын
That's what I was actually searching all over. Thanks 🥰. BTW which theme you are using in vs code?
@lokeshchauhan6253
@lokeshchauhan6253 Жыл бұрын
Great tutorial man
@farhatulsk
@farhatulsk 3 жыл бұрын
Great work😃👍
@jalalhasanov9958
@jalalhasanov9958 3 жыл бұрын
Perfect explanation.. Thank you very much.. You are amazing man..
@arunprasath8649
@arunprasath8649 Жыл бұрын
u r a lifesaver bro.
@alyankhan806
@alyankhan806 2 жыл бұрын
Amazing! learned so much
@VareshTapadia
@VareshTapadia 3 жыл бұрын
Great content Catalin. Please continue... (claps). Can you point/show how we can achieve the same effect when the items are comming out from the bottom as well? That would complete/complement the effect nicely.
@RippZzGaming
@RippZzGaming 2 жыл бұрын
did you find out how to do that already? was wondering aswell and didn't get it to work by myself
@zainkhalid8038
@zainkhalid8038 3 жыл бұрын
Awesome Tutorial
@sharofazizmatov1000
@sharofazizmatov1000 3 жыл бұрын
wow great. Thank you for your time. The thing you are doing here are really great. Keep on si Multumesc inca o data!
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
You welcome Sharof ✌️ Pentru putin Sharof ✌️
@navodadesilva99
@navodadesilva99 3 жыл бұрын
You make the best react native apps keep it up love your work ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥
@charbelmansour8925
@charbelmansour8925 Жыл бұрын
Notifications on ! :D
@136machiner
@136machiner Жыл бұрын
Thanks for tutorial!
@mirids9579
@mirids9579 3 жыл бұрын
Please dude, make tutorial about scrollToIndex in FlatList with different height items. You are best bro.
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
That’s a great suggestion! I’ll take a look and see with what I can come up with. Cheers Miri ✌️
@korneevxxx
@korneevxxx 3 жыл бұрын
Yes, I also would be very thankful for the one with various heights. Great tutorial!
@wubshetdemissie2933
@wubshetdemissie2933 11 ай бұрын
Nice job man.
@redouaneserir1293
@redouaneserir1293 3 жыл бұрын
very well explained ,very helpful thanks
@irfanbaloch7174
@irfanbaloch7174 3 жыл бұрын
As always high quality content
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Thank you so much Irfan ✌️
@hamidkhan-ed8ze
@hamidkhan-ed8ze 3 жыл бұрын
greate and amazing animations ,thanks for sharing with us.....
@andresribeiroo
@andresribeiroo 3 жыл бұрын
Awesome 💥 A suggestion for a video: animated login page
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
I’m working on it Andre ✌️
@sykn3z
@sykn3z 3 жыл бұрын
Greeaaat wooorkk maaaaaaaaaaaaaaaaaaaaaaaan! Keeep it uppppp dude! U rocks!
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Wow, thanks a ton ✌️
@chamaldezilva
@chamaldezilva 3 жыл бұрын
awesome explaining! just hit the red button
@harshdeepsaiyam570
@harshdeepsaiyam570 3 жыл бұрын
That was awesome!
@endlessspirituality3521
@endlessspirituality3521 Жыл бұрын
Your animation tutorials are just magnificent. BDW which VS code extensions you particularly use while working with the react native as I don't get that good suggestions or autocomplete of code while typing
@MrBony
@MrBony 3 жыл бұрын
Excellent tutorial. I followed along and everything works. However, while scrolling, the items start animating without reaching the top of the window. This leads to items disappearing on scrolling on a long list. Is there something I missed? Could you please provide a hint on this? Thanks for this beautiful tutorial.
@MangoFlamingo
@MangoFlamingo 2 жыл бұрын
Well done. this channel should have more views than this
@shubhamgoyal977
@shubhamgoyal977 3 жыл бұрын
How can I do the same for the bottom part of the screen as well? like when an item leaves the screen from the bottom, it should get smaller? Basically I want it to be big when it's in the centre of the screen and when it moves away from the centre it should get smaller.
@k.a6
@k.a6 3 жыл бұрын
Wow, this is Awesome
@chandranathgupta4500
@chandranathgupta4500 3 жыл бұрын
you are a genius man. Thank you so much...
@prakashmardi25
@prakashmardi25 3 жыл бұрын
interested in working with me Chandan in a crypto trading app?
@code_lift
@code_lift 2 жыл бұрын
Excellent content! Per reanimated docs: interpolate method is now out dated and replaced with the new interpolateNode
@skarfacePT
@skarfacePT Жыл бұрын
I'm trying to do the same effect in the lower part of the list (like the IOS notification tray). Some idea? Thanks.
@MrAVQ
@MrAVQ Жыл бұрын
awesome videos, might can you show us how create a swipe button left to right with Beautifull animation
@prathameshsagvekar6696
@prathameshsagvekar6696 3 жыл бұрын
Hello, liking your work! When last FlatList Component element hides below BottomTabNavigator. How can we up that component to become full visual ?
@luisbrazilva
@luisbrazilva 7 ай бұрын
How do you replicate that same animation at the other end of the list when it enters and leaves the screen? Can you point me to somehwere I can find some guidance on that?
@maxaquilino7264
@maxaquilino7264 3 жыл бұрын
Another excellent video, you make it look so simple. In my case, I'm using a FlatList with a dynamic "numColumns" parameter based on the screen size, where I set 1 column for mobile devices and 2 columns for tablets. Your solution works well on mobiles but only works on the first item for tablets. I tried to use different inputRange values when I have 2 columns by doubling the itemHeight but still it doesn't make any difference. Is there any solution for this?
@DmitriiDeriabin
@DmitriiDeriabin 3 жыл бұрын
same question?
@ddikodroid
@ddikodroid 3 жыл бұрын
Keep it up bro🚀
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Thanks ✌️
@TheSalaho1
@TheSalaho1 3 жыл бұрын
nice tutorial, btw you type really fast, what's your wpm, and what keyboard you're using?
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
I don’t remember what was my average wpm, but I can do a test to see it. I’m using a magic keyboard ⌨️
@arielsuarez5471
@arielsuarez5471 Жыл бұрын
Hello! I've just started learning React. Your tutorials are great. Please, keep up the good work. Also, I wanted to ask you how you make the view of your app display. I'm using VSCode and trying to request the .jsx file in the server (localhost), but all it displays is the code itself in a black screen in the browser.
@ThinhTran-yu9sn
@ThinhTran-yu9sn 3 жыл бұрын
Awesome tutorial thank you. Which font do you use for VS Code?
@sheheryarqazi1006
@sheheryarqazi1006 2 жыл бұрын
thank you very much master react Native
@mihaivancsa7815
@mihaivancsa7815 4 ай бұрын
is there a way to apply the same animation but to the elements that are at the bottom while scrolling?
@junangameplays3271
@junangameplays3271 3 жыл бұрын
Drag and Drop and Drag and Sort please you teach Very well!!!
@enes_town
@enes_town 3 жыл бұрын
You so helped me. You are awesome ❤️
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Glad I could help! You're welcome. Thanks Enes ✌️
@fouadmagdy3301
@fouadmagdy3301 3 жыл бұрын
Transform not working friend what ahould i do
@hrishikeshkedar2574
@hrishikeshkedar2574 3 жыл бұрын
Great Stuff!!
@alexpoon5921
@alexpoon5921 2 жыл бұрын
how about the height of list items are dynamic which all the items have difference height?
@mobileappsdevware264
@mobileappsdevware264 3 жыл бұрын
amazing ideas, thanks
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
I’m glad you liked it Akram ✌️
@learnandlearn849
@learnandlearn849 Жыл бұрын
Thanks for making amazing aimations. Can you make an Video for Ios style picker custome picker that will work on both android and Ios platform may be helpful
@krishnavishwakarma908
@krishnavishwakarma908 3 жыл бұрын
Thanks a lot..... 🔥 🔥 🔥
@muhammadalihassan2157
@muhammadalihassan2157 3 жыл бұрын
Great brother. My suggestion please add a tutorial scroll to particular item in flat list without giving height to the object. Please
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
This is a great suggestion and I’m looking into it. Stay tuned for it. Thanks Muhammad ✌️
@johnbenfer3723
@johnbenfer3723 3 жыл бұрын
​@@CatalinMironDev I am also interested in this.
@tabaicanking3701
@tabaicanking3701 3 жыл бұрын
You the best bro thanks
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Thanks a lot John ✌️
@ehtishamtahir2187
@ehtishamtahir2187 3 жыл бұрын
What theme are you using? And font styles?
@jairosoares6877
@jairosoares6877 3 жыл бұрын
Great video! thanks
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Glad you liked it! Thanks Jairo ✌️
@ahmedam77
@ahmedam77 3 жыл бұрын
I love it!
@vishwasagrawal4700
@vishwasagrawal4700 2 жыл бұрын
I wanted ask where do you find these animations which you try to recreate??
@waqasehmed
@waqasehmed 3 жыл бұрын
hey which font family are you using in VS code? it's quite good
@sangsokea
@sangsokea 3 жыл бұрын
Keep going, keep getting more sub...
@ThomazMartinez
@ThomazMartinez 8 ай бұрын
There is a problem with big lists where the animation starts moving down the scroll
@aUbilla
@aUbilla 3 жыл бұрын
Hello, amazing work!, do you have some animation tutorial to show/load data fetched en flatList???
@muratakbaba8959
@muratakbaba8959 3 жыл бұрын
you are awesome man. unfortunately this app doesn't work on web but when i run it on my mobile phone it was working fine.if you have a suggestion for using on web please answer this comment
@shiekhpalace2401
@shiekhpalace2401 Жыл бұрын
Please tell which font are you using for vs code
@ddikodroid
@ddikodroid 3 жыл бұрын
Great video!
@CatalinMironDev
@CatalinMironDev 3 жыл бұрын
Thanks a lot Diko ✌️
5 React Native Tips to WOW Your Users
16:36
Simon Grimm
Рет қаралды 30 М.
Amazing remote control#devil  #lilith #funny #shorts
00:30
Devil Lilith
Рет қаралды 14 МЛН
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 77 МЛН
You might not need useEffect() ...
21:45
Academind
Рет қаралды 173 М.
React Native Animated Tabs & Animated Indicator using FlatList
23:58
React Native Animated Counter
24:09
Catalin Miron
Рет қаралды 3,8 М.
React Native Custom Animated tabs - Reanimated
19:39
Catalin Miron
Рет қаралды 7 М.
Build a Realtime Chat App in React Native (tutorial for beginners) 🔴
3:49:50
I think you’ll like these puzzles
29:42
3Blue1Brown
Рет қаралды 661 М.
Amazing remote control#devil  #lilith #funny #shorts
00:30
Devil Lilith
Рет қаралды 14 МЛН