Тёмный

RecyclerView and CardView for Jetpack Compose (LazyColumn and Card) 

CodingWithMitch
Подписаться 145 тыс.
Просмотров 23 тыс.
50% 1

The BEST android courses in the world: codingwithmitc...
In this video I show you what the RecyclerView and CardView equivalents are for jetpack compose. The jetpack compose version of a recyclerview is a LazyColumn. LazyColumnFor and LazyColumnForIndexed were deprecated as of jetpack compose version alpha 09. Now you are supposed to use LazyColumn.
The CardView equivalent for jetpack compose is Card.
Code: github.com/mit...
Follow me:
Instagram: / codingwithmitch
Twitter: / mitch_tabian
.
.

Опубликовано:

 

3 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 66   
@mohdotnet
@mohdotnet 2 года назад
I am new to all three items . Kotlin mvvm and jetpack and I have to say your video is amazing.
@vengateshm2122
@vengateshm2122 3 года назад
Thank You Mitch. I thought you will be writing adapters for recyclerview but it is as simple as Flutters' list item builder.
@miguelnuno928
@miguelnuno928 2 года назад
The dead of Recyclerview and his adapters children makes me happy hahaha
@ricks1129
@ricks1129 2 года назад
Hi Mitch. Would like to thank you for being so considerate of your learners. A simple act of using white background in your Android Studio is so much comfortable. Don't know why almost everyone else is crazy about black screens where it is so difficult to figure out the code. Power-saving is essential but not at the cost of huge inconvenience for end users
@DS-bz4mz
@DS-bz4mz Год назад
I find it a lot easier to see when the text is on the darker background, plus it's easier on your eyes at night
@Shoan3D
@Shoan3D 3 года назад
Recycling ♻️ engagement
@muhammedshahin6299
@muhammedshahin6299 Год назад
Thank you, mitch. You're awesome
@wajdidaghlas3178
@wajdidaghlas3178 3 года назад
انت استاذ رائع......its mean: you are fantastic master
@typingcat
@typingcat 2 года назад
I read an article today that said "Declarative UI" is the new "mega" trend, and Compose will eventually replace the traditional XML UI in Android. Another article said that traditional XML layout stuff is the "Imperative UI". But seeing is the code, how is the method of creating the UI in Compose fundamentally different form the XML UI? It seems that it is creating the UI in the same way as the XML but looks shorter only because we are using default values for things that we had to explicitly declare in the XML such as the "android:layout_width". If Google had decided to make those attributes all omittable and default values were chosen for them, wouldn't it be basically the same as this Compose UI declaration? And they say that one of the "pros" of the Compose UI is that the code looks cleaner, but all those nested code blocks look more difficult to understand than the XML.
@АлександрПальчевский-г7о
Thank you for the video!
@juanrincon4110
@juanrincon4110 3 года назад
Here is my prideful engagement!!
@anuradhaamarasinghe9649
@anuradhaamarasinghe9649 3 года назад
Thanks Mitch. Here goes the engagement
@tonnie7079
@tonnie7079 2 года назад
I like how you say Blah, Blah, Blah at 15:23, pleasure listening to you.
@speedboy93640
@speedboy93640 3 года назад
Hi Mitch! Great content!
@dipveo3666
@dipveo3666 3 года назад
Thank you Mitch !
@ailacherim
@ailacherim 3 года назад
Awesome, thanks!
@danyelsh874
@danyelsh874 2 года назад
thanks mitch!
@khaledqwas8851
@khaledqwas8851 3 года назад
Thank you
@hoonjung2143
@hoonjung2143 2 года назад
Great stuff! Thank you :)
@roshanfx369
@roshanfx369 3 года назад
Nice!!
@onlinechatter8578
@onlinechatter8578 3 года назад
looking like an HTML tags... missing the tag!!😁.. lovely
@HienNguyen-xn7tr
@HienNguyen-xn7tr 3 года назад
I love BBM
@LetrixAR
@LetrixAR 3 года назад
Waiting for loading images. I'm trying with CoilImage (from accompanist) but the scroll is really weird.
@codingwithmitch
@codingwithmitch 3 года назад
I'll show you a simple method tomorrow
@MdMainuddin-ev6tc
@MdMainuddin-ev6tc 3 года назад
Amazing
@bboydarknesz
@bboydarknesz 3 года назад
With my low spec laptop, mine is smooth. I donno why, anyway thanks for new LazyColumn function, that's amazing function
@JitubhaiyaPhysics
@JitubhaiyaPhysics 3 года назад
Mitch
@CommanderSteps
@CommanderSteps 3 года назад
Thank you!
@AleuqabAli
@AleuqabAli 3 года назад
Hi great vedio but i wonder what font you are using 👌
@erickramones2167
@erickramones2167 3 года назад
I wish there was some visual representation of the code when building the components like when the xml was used.
@anindyaray1913
@anindyaray1913 3 года назад
hey, you can preview what you are building using the preview annotation and calling the function you want to see inside the function annotated with preview.
@ahmedrageharc
@ahmedrageharc 3 года назад
thanks for your efforts list is too laggy because bitmap drawable is too large , when you put file in default drawable dir android system rescale it by 2X or 3X to display ,which means that you are using very large images when loading list
@mehdiparsaei1867
@mehdiparsaei1867 3 года назад
The best.
@YouGuto
@YouGuto 3 года назад
Engagement++ Like++
@johnybaby9574
@johnybaby9574 3 года назад
great!
@raghund1481
@raghund1481 3 года назад
Is there a way to add a scrollbar thumb here? I have a lot of rows here and need a scrollbar thumb and I just cant find a way to add one. Pls help. Thanks.
@abdelrhmantalat9813
@abdelrhmantalat9813 3 года назад
Hi Mitch, Can you tell us why we are not using @Preview in our components?
@codingwithmitch
@codingwithmitch 3 года назад
I'm not because its slow and it makes me angry
@Zeeshan-Syed
@Zeeshan-Syed 3 года назад
👏
@terencejumba1939
@terencejumba1939 3 года назад
creating adapter seems it will deprecate soon :) :)
@HelloBayzid
@HelloBayzid 3 года назад
❤❤❤❤
@diodio6335
@diodio6335 3 года назад
How to setup animation when scroll the list to the top and the end?
@moussawade5957
@moussawade5957 3 года назад
Thank u Mitch, so why you’re not used ConstraintLayouts in the Card(){} ? Thank u again for this courses
@codingwithmitch
@codingwithmitch 3 года назад
You can. I'll cover constraint layout later at some time
@ChrisAthanas
@ChrisAthanas 3 года назад
Engagement para ti
@anudeepananth
@anudeepananth 3 года назад
Hey Mitch... there is no way in compose to show if user is overscrolling(when reached the end of list or the beginning of list), the visual feedback is built in when using XML and also the swipe down to refresh is not possible in compose as of now... is that right?
@Lars131
@Lars131 3 года назад
Shouldn't convert the .png image to .webp?
@hanac5586
@hanac5586 Год назад
woohoo
@hanac5586
@hanac5586 Год назад
I mean thank you
@hellespont5072
@hellespont5072 3 года назад
Does anybody know how to access MaterialTheme.shapes.small/medium etc? I tried googling it and can't find any info, seems to have changed since Mitch made this video. Official Jetpack Compose Theming documentation uses the same syntax but I can't access it. I checked gradle file and as far as I can tell I have all the correct imports. Anybody know the new way to do it??
@Mohit-gb9dv
@Mohit-gb9dv 2 года назад
Begiest difference in java and kotlin Semicolons are replaced by brackets 😂😂
@oleg_dnipro
@oleg_dnipro 3 года назад
how to load image from resources in Compose?
@hellespont5072
@hellespont5072 3 года назад
Hey did you find a way to do it? Is it using painterResource??
@oleg_dnipro
@oleg_dnipro 3 года назад
@@hellespont5072 Image( painter = painterResource(R.drawable.margarita), contentDescription = "Content description for visually impaired", Modifier.size(100.dp) )
@alisamadzadeh3195
@alisamadzadeh3195 3 года назад
why don't use xml for ui?
@mukswilly
@mukswilly 3 года назад
This is a compose tutorial.
@CommanderSteps
@CommanderSteps 3 года назад
That will be legacy stuff on Compose release day.
@hellespont5072
@hellespont5072 3 года назад
👌👨‍💻🙌
@samha1513
@samha1513 3 года назад
oh god it was as leggy as my windows old surface pro 3
@denihilhamsyah
@denihilhamsyah Год назад
weff
@ulugg3529
@ulugg3529 3 года назад
Thank You
@hanamanth_vlogs6565
@hanamanth_vlogs6565 3 года назад
👍👍
@ahmadbanikamali6936
@ahmadbanikamali6936 2 года назад
thank you
@staceyrichards8656
@staceyrichards8656 3 года назад
Many thanks
Далее
Asynchronously Load Images with Jetpack Compose
10:03
Shimmer Loading Animation with Jetpack Compose
43:24
Просмотров 10 тыс.
У КОТЕНКА ПРОБЛЕМА?#cat
00:18
Просмотров 984 тыс.
SearchView Toolbar with Jetpack Compose
15:28
Просмотров 17 тыс.
Animations Introduction (Jetpack Compose)
22:44
Просмотров 8 тыс.
Dark Theme and Light Theme (Jetpack Compose)
31:14
Просмотров 18 тыс.
Constraint Layout with Jetpack Compose
25:02
Просмотров 11 тыс.
I Remade YouTube From Scratch Using Just Bash
17:51
Просмотров 17 тыс.
DO NOT do this in a Software Engineering Interview
7:59
Capturing User Input with Jetpack Compose (EditText)
11:11