React Native FlatList Animations

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

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!

kimbrandwijk
Автор

Please do more of these tutorials with the animated api.

PVideos
Автор

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

whowhatwhyhow
Автор

Just wow, you motivated me more for animations after this, thanks🙏

tamishkhurana
Автор

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) => {

};

<View onLayout={onLayout}>
...content
</View>

wolfromkev
Автор

I already fell in love with your accent

yaltharullist
Автор

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

waroulolz
Автор

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

christianparra
Автор

so jhonny sins is also a developer i am impressed

DUO_QUEST
Автор

Looks awesome, thanks for your example!

mrst
Автор

Really interesting as usual ! Congrats

_maksime
Автор

It's the end of June 2020 already and I'm all gearing up for React Native animations and transitions 😇

droidmakk
Автор

Really cool and fun to watch video. It's a great animation to copy. Thank you !!

lucaslaurens
Автор

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

Jorsfel
Автор

You are insane. Please more with Animated api

rein
Автор

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
Автор

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.

fam
Автор

Can you update and explain the same animation for a two column flat list ?

akhiljain
Автор

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

codigosimple
Автор

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?

excalibur