Animations Introduction (Jetpack Compose)

  Рет қаралды 7,955

CodingWithMitch

CodingWithMitch

Күн бұрын

Пікірлер: 39
@jamesaidoo
@jamesaidoo 3 жыл бұрын
Thanks Mitch for this series. I'm learning compose by following this. I like it more this way because some of the things you use are no longer available, or have been simplified, which makes me find the new way to get it done. I love the challenge. For instance, high level animation APIs have been introduced to achieve this animation with much simplicity. Thanks again.
@smokey4587
@smokey4587 4 жыл бұрын
I just came to show you some support and to give you a like. Don't stop doing this, it's very helpful 🤝
@AyorindeAdesugba
@AyorindeAdesugba 4 жыл бұрын
Happy new year Mitch 👏
@tomandjerryofficial2030
@tomandjerryofficial2030 3 жыл бұрын
New Year Engagement. Love it when he isn't that well knowledgeable in animation but makes a video for us. Thanks, Mitch.
@Shoan3D
@Shoan3D 4 жыл бұрын
For a beginner course, I didn't think you would do animations..hehe Thanks a lot Mitch, for animation tutorial. I thought wrong again, I thought you would do animateTo or animateFloat API, first. I think the transition API was the most challenging for me to wrap my head around, understand when you said that you can do a course just on Animations. Grateful for the explanation.
@vengateshm2122
@vengateshm2122 4 жыл бұрын
New year new day gift from mitch with a heart animation.
@ranasaad8583
@ranasaad8583 3 жыл бұрын
13:30 thank god you are making this series for us.
@shivamsethi3829
@shivamsethi3829 4 жыл бұрын
Great content, happy new year
@tonnie7079
@tonnie7079 3 жыл бұрын
Not sure if this is an engagement or a question. I got "Unresolved reference: FloatPropKey" and could not follow through the video. I suspect this has been removed as I cannot find any reference of it in the docs. Anyway, I found a workaround.
@abrarwiryawan
@abrarwiryawan 3 жыл бұрын
When was floatpropkey got deprecated? I cant found it anywhere
@bboydarknesz
@bboydarknesz 3 жыл бұрын
I found it by following this mitch man video, kzbin.info/www/bejne/nn2og6eNeJaHftk @Composable fun PulsingDemo() { val color = MaterialTheme.colors.primary val infiniteTransition = rememberInfiniteTransition() val pulseState = infiniteTransition.animateFloat( initialValue = 40f, targetValue = 50f, animationSpec = infiniteRepeatable( animation = tween( durationMillis = 500, easing = FastOutSlowInEasing ), repeatMode = RepeatMode.Restart ) ) Row( modifier = Modifier .fillMaxWidth() .height(55.dp), horizontalArrangement = Arrangement.Center ) { Image( imageVector = Icons.Default.Favorite, modifier = Modifier.align(CenterVertically) .height(pulseState.value.dp) .width(pulseState.value.dp), contentDescription = null ) } Canvas(modifier = Modifier .fillMaxWidth() .height(55.dp)) { drawCircle( radius = pulseState.value, brush = SolidColor(color) ) } }
@randafahmy9688
@randafahmy9688 4 жыл бұрын
Yaaaaaaay I was waiting for this videoooo
@codingwithmitch
@codingwithmitch 4 жыл бұрын
Tomorrow is another one on animations
@ChrisAthanas
@ChrisAthanas 4 жыл бұрын
Hoisting the main sails over the sea of composables, final destination? Land of 100k
@MrVarsium
@MrVarsium 4 жыл бұрын
nice Corona bear @Mitch !
@fixitman5453
@fixitman5453 7 ай бұрын
Thanks, Mitch! That helped a lot
@Hacker-x
@Hacker-x 4 жыл бұрын
This time I am watching video while having lunch😋. Thanks Mitch, clear explanation.. Following from Oman. 😎
@muhammedshahin6299
@muhammedshahin6299 2 жыл бұрын
Thank you, mitch
@terencejumba1939
@terencejumba1939 3 жыл бұрын
very nice courses
@johnybaby9574
@johnybaby9574 4 жыл бұрын
Thanks for your great courses! really
@danyelsh874
@danyelsh874 3 жыл бұрын
awesome!
@mehraanakbarii
@mehraanakbarii 4 жыл бұрын
Man, i have the experience working with flutter, i am started learning android, should i start learning with jetpack compose ?
@codingwithmitch
@codingwithmitch 4 жыл бұрын
The more you know the better generally
@mehraanakbarii
@mehraanakbarii 4 жыл бұрын
@@codingwithmitch so u mean learning how to program with xml and layouts is better before start learning compose ? You know i switched from Flutter to native for understanding architectures , i didn't understand Flutter's declarative ui architecture (called bloc) 🤔
@theapache64
@theapache64 3 жыл бұрын
Mitch, do we have an official documentation on compose animations?
@codingwithmitch
@codingwithmitch 3 жыл бұрын
No it changed again recently. I'll do another update video soon prob. The devs say it shouldn't change too much anymore.
@bakytdjumabaev469
@bakytdjumabaev469 3 жыл бұрын
great video!
@hugosalazar6911
@hugosalazar6911 4 жыл бұрын
Nice
@Shoan3D
@Shoan3D 4 жыл бұрын
Animating engagement
@VivekSharma-qw5ky
@VivekSharma-qw5ky 4 жыл бұрын
Your screen kinda flickering, when the suggestion window pops up, take a look in the video
@codingwithmitch
@codingwithmitch 4 жыл бұрын
Ya it's compose not my screen. I don't know why but the ide looks like it's flickering sometimes
@uwaisalqadri6703
@uwaisalqadri6703 3 жыл бұрын
cool
@u2gilles
@u2gilles 4 жыл бұрын
Great starting point for animation. Thanks Mitch. I tried to port this code on "Compose for Desktop". It works if I don't repeat the animation (pulsePropKey using tween) but when I try to repeat infinitely, "infiniteRepeatable" can't be imported. I may miss a dependency or it is not supported yet but if anymore have a solution to this issue, please let us know. Thanks (gist.github.com/u2gilles/30401e93b5d946517fcf58bf7fc1c74f#file-anim01-kt)
@mukeshcse3131
@mukeshcse3131 4 жыл бұрын
Happy Pongal(harvest celebration) engagement
@VivekSharma-qw5ky
@VivekSharma-qw5ky 4 жыл бұрын
If you guys don't get the import of infiniteRepeatable(), because I didn't get it and searched for that function in TransitionDefinition Class and didn't find it too Use this 👇 pulsePropKey using repeatable( iterations = AnimationConstants.Infinite, animation = tween( durationMillis = 500, easing = FastOutSlowInEasing ), repeatMode = RepeatMode.Restart ) Don't know why I didn't get it, maybe deprecated or something "Compose Things" , Anyone else didn't get it?
@raheemadamboev
@raheemadamboev 3 жыл бұрын
I didn't find any animation functions used in the video
@speedboy93640
@speedboy93640 3 жыл бұрын
Anime Engagement
@juangax100
@juangax100 3 жыл бұрын
For those using the compose version 1.0.0-beta05 this is how i could make the animation work, my PulsingDemo.kt is: import androidx.compose.animation.core.* import androidx.compose.foundation.Canvas import androidx.compose.foundation.Image import androidx.compose.foundation.layout.* import androidx.compose.material.MaterialTheme import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.Favorite import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.unit.dp @Composable fun PulsingDemo() { val color = MaterialTheme.colors.primary val infiniteTransition = rememberInfiniteTransition() val pulseMagnitude by infiniteTransition.animateFloat( initialValue = PulseAnimationDefinitions.PULSE_STATE_INITIAL, targetValue = PulseAnimationDefinitions.PULSE_STATE_FINAL, animationSpec = infiniteRepeatable( animation = tween(500, easing = FastOutSlowInEasing), repeatMode = RepeatMode.Restart ) ) Row( modifier = Modifier .fillMaxWidth() .height(55.dp), horizontalArrangement = Arrangement.Center ) { Image( modifier = Modifier .align(Alignment.CenterVertically) .height(pulseMagnitude.dp) .width(pulseMagnitude.dp), imageVector = Icons.Default.Favorite, contentDescription = "") } Canvas( modifier = Modifier .fillMaxWidth() .height(55.dp) ) { drawCircle( radius = pulseMagnitude, brush = SolidColor(color) ) } } object PulseAnimationDefinitions{ const val PULSE_STATE_INITIAL = 40f const val PULSE_STATE_FINAL = 50f }
Heart Animation with Jetpack Compose (Toggle Likes)
23:30
CodingWithMitch
Рет қаралды 8 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Shimmer Loading Animation with Jetpack Compose
43:24
CodingWithMitch
Рет қаралды 10 М.
Animations - Jetpack Compose Beta
24:57
CodingWithMitch
Рет қаралды 11 М.
iOS Development is Easier than Android Development (VLOG)
20:41
CodingWithMitch
Рет қаралды 52 М.
Capturing User Input with Jetpack Compose (EditText)
11:11
CodingWithMitch
Рет қаралды 14 М.
DO NOT do this in a Software Engineering Interview
7:59
CodingWithMitch
Рет қаралды 9 М.
Recipe Network Entity (Retrofit Model)
9:22
CodingWithMitch
Рет қаралды 11 М.
Dark Theme and Light Theme (Jetpack Compose)
31:14
CodingWithMitch
Рет қаралды 18 М.
State Hoisting with Jetpack Compose
10:29
CodingWithMitch
Рет қаралды 13 М.
Constraint Layout with Jetpack Compose
25:02
CodingWithMitch
Рет қаралды 11 М.
Google Maps is Tricky with Jetpack Compose (VLOG)
14:10
CodingWithMitch
Рет қаралды 9 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН