Row Layouts with Jetpack Compose

  Рет қаралды 23,630

CodingWithMitch

CodingWithMitch

Күн бұрын

Пікірлер: 86
@jitendrapratap6327
@jitendrapratap6327 3 жыл бұрын
Never thought that I would learn Kotlin and here I am.
@clausji
@clausji 2 жыл бұрын
Thank you Mitch I just starting working at McDonalds as a front end dev and they use MVVM with compose and Hilt injection so your videos are super helpful to get up to speed 😊👏
@BlackIronMess
@BlackIronMess 3 жыл бұрын
I'm new to all this jetpack compose library and your videos have been a gift, thanks for this course Mitch
@gulshanpatidar7908
@gulshanpatidar7908 3 жыл бұрын
It is a great in depth video which gave me clear understanding of rows and arrangements
@VivekSharma-qw5ky
@VivekSharma-qw5ky 3 жыл бұрын
we can also use : Row( modifier = Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.SpaceBetween, verticalAlignment = Alignment.CenterVertically ){ // } arrangement and alignment in Row and Column composable @CodingWithMitch
@matheuscorrea8039
@matheuscorrea8039 3 жыл бұрын
That seems more organized to me
Жыл бұрын
Hey Mitch. You have it, the talent to teach.
@alirezafaraji
@alirezafaraji 3 жыл бұрын
I hate android programming. most of the stuff has changed. despite that, you're awesome man. keep it up
@jensnorell1724
@jensnorell1724 3 жыл бұрын
Great stuff Mitch! I am doing my own project in Android and your videos are always extremely helpful. Thumbs up and a subscription from me.
@freed5464
@freed5464 2 жыл бұрын
You want engagement? You want me to give you something? I buy ring. I give ring🙄 Seriously though, keep it up! I signed up for your KZbin channel and I'll probably do the same for your website. I'm taking a break from coding for the rest of the weekend (an improbable occurrence) and I'm going to go through your videos. Thanks! for the great content.
@andrewizquierdo5944
@andrewizquierdo5944 3 жыл бұрын
hey mitch, good video. QUESTION! with your Row that's comprised of "Happy Meal" text and "price" text.... i understand how you use `Arrangement.SpaceBetween` in the parent Row so that the first Text() will be at Start, and the second Text() will be at end.... . however.... if your first Text() 's text takes up too much horizontal space, it seems to push the second Text() off screen. ... im trying to get it so that the second Text() will ALWAYS be at the end, and if the first Text()'s text is approaching it, that it will just wrap itself and will not interfere with the second Text() .... any ideas? thanks! =)
@AbdulSamadQurashi
@AbdulSamadQurashi 7 ай бұрын
Hey mitch, here is your engagement :), please update the jetpack compose lectures as they are bit old
@vladimirpavlov
@vladimirpavlov 3 жыл бұрын
Great stuff Mitch! You are the best!
@dreeemchaser9758
@dreeemchaser9758 Жыл бұрын
Thank you ! your video helped me with an assignment :)
@KevinMeneses
@KevinMeneses 3 жыл бұрын
Great stuff Mitch, your content is useful as always
@roxxyrafael2564
@roxxyrafael2564 3 жыл бұрын
Learning a lot from your channel! One of the best channel to learn and be updated with android development. Thanks for your videos! I hope Paging will be included as topic in your next videos! :)
@codingwithmitch
@codingwithmitch 3 жыл бұрын
Pagination will be part of the course. I don't use the paging libraries tho. I prefer a custom approach
@nicolagallazzi9295
@nicolagallazzi9295 3 жыл бұрын
Great tutorial Mitch, thanks!
@hellespont5072
@hellespont5072 3 жыл бұрын
Great stuff Mitch, new sub here! Certain things have changed with Compose since these vids were made, but actually it helps me with learning as it really gets you thinking deeply about this stuff. Looking forward to completing this course! 👍👏
@Satishsingh-yc9bs
@Satishsingh-yc9bs Жыл бұрын
Hey Mitch. Here is your Engagement 😁
@mytubekt
@mytubekt 2 жыл бұрын
2:30 Great explanation! Thanks!
@adamnoor8380
@adamnoor8380 3 жыл бұрын
Order of the composable function is also effect a lot. Like when applying background or padding just switch their places above and below so you feel the difference.
@rafaeldavidcastroluna7600
@rafaeldavidcastroluna7600 3 жыл бұрын
Mitch, greetings from El Salvador
@anshumandhal
@anshumandhal 3 жыл бұрын
Thanks for the free course, Mitch!
@asimshahzad3672
@asimshahzad3672 3 жыл бұрын
Hey Mitch is it good practice to use this thing as it can be too much code inside activity ?.
@helskamp2109
@helskamp2109 3 жыл бұрын
I love the way Mitch explains the different subjects! I wanted to use Co-Routines forlong time but never got into it (because it looked difficult). After i saw "CodingWithMitch" youtube lessons.... it was soooo easy. Now i am a big fan. Thank you for explaining difficult stuff (at first) and make it understandable! I will see *all* your youtube videos !!! Regards, henk
@kashwaa
@kashwaa 3 жыл бұрын
The concept of alignment and arrangement is easy. If you are confused just remember that: In Columns: - Column is responsible for laying out its children vertically. i.e. It should be the one who knows how to arrange children vertically, and children has nothing to do with that, because it would be a mess if each child decided to align it self without arranging with its siblings. - But each child is free to but itself horizontally in any where it likes because the column gives it the whole column width as a horizontal space to play with. In Rows the exact opposite apply. - Row is responsible to layout its children horizontally - Each child is given the whole height of the row to put itself anywhere vertically in that space.
@reda8959
@reda8959 3 жыл бұрын
For someone starting Android development, do you suggest jumping right away into Compose or is it better to learn old layouts first? Great course btw! I like your work very much
@codingwithmitch
@codingwithmitch 3 жыл бұрын
I think movie ng forward compose is the way. But you might have a tough time getting a job until it gets some momentum
@simonpeterojok2291
@simonpeterojok2291 3 жыл бұрын
Yeah 😂
@SpaceTimeBeing_
@SpaceTimeBeing_ 3 жыл бұрын
xml for now, but checkout compose, it would be hard to learn suddenly when it gets released since it's completely different.
@ashishgautam2842
@ashishgautam2842 3 жыл бұрын
nicely explained love it ❤
@heshammohamed6385
@heshammohamed6385 3 жыл бұрын
Very Brilliant Mitch
@vibinu7589
@vibinu7589 3 жыл бұрын
What's the equivalent of wrapcontent, matchparent and fillparent in compose?🤔
@kmaximoff
@kmaximoff 3 жыл бұрын
Match thank you for all of your courses, I love the way you explain. I would like to see fundamental course that only focuses on Kotlin (as alternative to Java courses), all aspects of language and tons of practice problems, and sample console applications. PS. I have looked all other courses on Kotlin on internet they make you familiar with syntax but do not teach how to code purely on Kotlin.
@paulvickers8059
@paulvickers8059 3 жыл бұрын
jetbrains academy has a kotlin track, which is I think is still in beta, so is free for the time being. It's very good, you have to solve problems. There's also a book atomic Kotlin which does something similar.
@kmaximoff
@kmaximoff 3 жыл бұрын
@@paulvickers8059 thank you Paul!
@ViralJoshiVirus
@ViralJoshiVirus 3 жыл бұрын
Wowiee...mitch..awesome..
@muhammadfirdaus3390
@muhammadfirdaus3390 3 жыл бұрын
Great job: please focus on JP Compose, if you think and believe that's is the future.
@jeankarax9263
@jeankarax9263 2 жыл бұрын
Here's your engagement! :)
@adamnoor8380
@adamnoor8380 3 жыл бұрын
I like your content very helpful
@hirendesai8261
@hirendesai8261 3 жыл бұрын
is there any bug in android studio canary 4.2? cause whenever i make changes in jetpack compose app i need to uninstall the app and then have to install it again in order to see changes. I'm not able to see changes after running app or instant run feature.
@tcpro0902
@tcpro0902 3 жыл бұрын
Can we use constraint layout with compose (rows and columns)?
@jess_o
@jess_o 3 жыл бұрын
13:35 Lets say the title might have a very long string, that will take up more than the width of the screen and we wish for it to wrap before hitting the price Text. How would we accomplish that? I have a similar layout right now, a Column filled with multiple Rows, that forces the last item of the row out of alignment when the item to its left is too long. In my case, it happens to be a Text shoving a Radiobutton wide to the right
@jess_o
@jess_o 3 жыл бұрын
Nevermind, figured it out from your Compose recyclerview video; fillmaxwidth(0.85f) on the text
@kondalraotirumalasetty3908
@kondalraotirumalasetty3908 2 жыл бұрын
Do we have Flex layouts in compose
@kunalkotiyal9566
@kunalkotiyal9566 3 жыл бұрын
Thumbnail 👌🏼
@frankyjunior6005
@frankyjunior6005 3 жыл бұрын
if the tile is too long, the price will not appear, any suggestion to fix this issue?
@vicky22702
@vicky22702 3 жыл бұрын
Engagement here 👍😉
@abdelrahmanesam3684
@abdelrahmanesam3684 3 жыл бұрын
Do you think this will be cross platform too and native development will die ? Particularly with kotlin multiplatform ?
@codingwithmitch
@codingwithmitch 3 жыл бұрын
Who knows
@SpaceTimeBeing_
@SpaceTimeBeing_ 3 жыл бұрын
Why use spacer composable so much, wouldn't padding within modifier of the other composables do the same?
@codingwithmitch
@codingwithmitch 3 жыл бұрын
Ya fine either eay
@cicerohellmann
@cicerohellmann 3 жыл бұрын
Here's your engagement :)
@محسننادرزاده
@محسننادرزاده 2 жыл бұрын
Hey Mitch, here is your engagement
@alirezahsn
@alirezahsn 3 жыл бұрын
perfect👌flutter like😉
@codingwithmitch
@codingwithmitch 3 жыл бұрын
ya very much
@Christopher-pe6zj
@Christopher-pe6zj 3 жыл бұрын
Good part starts @ 10:00 - You're welcome! (I come for the art)
@codingwithshafi7837
@codingwithshafi7837 Жыл бұрын
Mith, hare is you engagement.
@sebastianval1711
@sebastianval1711 3 жыл бұрын
Would be very nice a compose tutorial using a Stack like in flutter
@farukarnaut90
@farukarnaut90 3 жыл бұрын
Good job
@matheuscorrea8039
@matheuscorrea8039 3 жыл бұрын
How to deal with the cases that the title is big? I want a layout similar to "title - end to start - price" without using constraint layout.
@matheuscorrea8039
@matheuscorrea8039 3 жыл бұрын
After some research i found the solution The solution is using weight on the modifier elements Text( "Happy Meal", modifier = Modifier.weight(9f) ) Text( "$ 5.99", modifier = Modifier.weight(1f) ) stackoverflow.com/questions/58650272/weights-in-jetpack-compose
@roshanfx369
@roshanfx369 3 жыл бұрын
Nice!!
@nayanagarwal5312
@nayanagarwal5312 3 жыл бұрын
Orientation reminds me of flexbox in CSS
@антонсыч-ъ9и
@антонсыч-ъ9и 3 жыл бұрын
Thanks a million!!!
@hnim2292
@hnim2292 3 жыл бұрын
please more compose Mitch, now I can't see the power of compose vs xml layout :(
@codingwithmitch
@codingwithmitch 3 жыл бұрын
Yep more videos coming
@hellosagar
@hellosagar 3 жыл бұрын
Yo Mitch!
@desykevin7133
@desykevin7133 3 жыл бұрын
ok this is more like css flexbox, but looks more complex :D
@tekhiun
@tekhiun 3 жыл бұрын
Damn you skipped the most important part, how we make the app gives us a happy meal
@MuhammadSalman-me5ks
@MuhammadSalman-me5ks 3 жыл бұрын
I want more
@codingwithmitch
@codingwithmitch 3 жыл бұрын
More is coming
@Scamparelli
@Scamparelli Жыл бұрын
Looking for way to chain more than two items - so for example two icons, with text between, where the text doesn't overlay the icons.. I'm sure you have already done this, but comment as you asked!! :)
@kishorramani007
@kishorramani007 3 жыл бұрын
🙌
@prajnadeep
@prajnadeep 3 жыл бұрын
So Android is flutter now ?
@simrandotdev
@simrandotdev 3 жыл бұрын
Flutter is React Native with Dart
@simonpeterojok2291
@simonpeterojok2291 3 жыл бұрын
Android is declarative now
@codingwithmitch
@codingwithmitch 3 жыл бұрын
Yes 😂
@unknown710
@unknown710 3 жыл бұрын
@@simonpeterojok2291 yeah and I would say goodbye to epoxy once compose gets stable
@Rafael-hk9pg
@Rafael-hk9pg 2 жыл бұрын
I still can 't position two columns next to eachother in a row..
@SamuelToloza
@SamuelToloza 3 жыл бұрын
Why are Column, Row, Spacer etc not separated by commas or something? this is breaking my mind
@codingwithmitch
@codingwithmitch 3 жыл бұрын
You'll be ok
@ernestasraudonis9919
@ernestasraudonis9919 3 жыл бұрын
Column, Row, Spacer are just composable functions, so you should think of them as just that - functions. While writing basic Kotlin functions, do you separate them with commas? It's the same here, you only use commas to separate the parameters (modifier, color, text, background, etc...)
@SamuelToloza
@SamuelToloza 3 жыл бұрын
@@ernestasraudonis9919 ooh they are Kotlin functions. thanks. I dont know Kotlin yet
Fragments with Jetpack Compose (Interoperability)
15:03
CodingWithMitch
Рет қаралды 42 М.
Column Layouts with Jetpack Compose
17:02
CodingWithMitch
Рет қаралды 32 М.
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 11 МЛН
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 92 МЛН
Lazy layouts in Compose
24:32
Android Developers
Рет қаралды 95 М.
RecyclerView and CardView for Jetpack Compose (LazyColumn and Card)
19:53
Animations Introduction (Jetpack Compose)
22:44
CodingWithMitch
Рет қаралды 8 М.
Constraint Layout with Jetpack Compose
25:02
CodingWithMitch
Рет қаралды 11 М.
Pagination with Jetpack Compose
23:15
CodingWithMitch
Рет қаралды 15 М.
How To Build Feature Flags Like A Senior Dev In 20 Minutes
20:33
Web Dev Simplified
Рет қаралды 63 М.
Hilt - Providing Retrofit Instance and Repository
20:36
CodingWithMitch
Рет қаралды 18 М.
Thinking in Compose
25:27
Android Developers
Рет қаралды 87 М.
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18