Тёмный

Where to hoist that state in Compose? 

Android Developers
Подписаться 1,3 млн
Просмотров 29 тыс.
50% 1

In this talk, you'll learn how and where to hoist state in Jetpack Compose. When should state be hoisted? Should that be in a composable function, plain state holder class, or in a ViewModel? In this session, we explore the different possibilities using real-world examples.
Resources:
State and Jetpack Compose → goo.gle/compose-state-docs
A Compose state of mind → goo.gle/compose-state-mind
State holders and state production → goo.gle/ui-state-holders-prod...
UI layer → goo.gle/architecture-ui-layer
Speaker: Alejandra Stamato
Watch more:
Watch all the Android Dev Summit sessions → goo.gle/ADS-All
Watch all the Modern Android Development sessions → goo.gle/ADS-MAD
Subscribe to Android Developers → goo.gle/AndroidDevs
#Featured #AndroidDevSummit #JetpackCompose

Наука

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

 

8 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@hdkloh6857
@hdkloh6857 6 месяцев назад
So fast, my brain is not recomposing 😅.
@ssverma1916
@ssverma1916 Год назад
Take it easy next time Ale :) Anyway... great content 👍
@AlejandraStamato
@AlejandraStamato Год назад
Thank you!! Yep will slow down a notch next time 😅
@kevinsun123
@kevinsun123 Год назад
You did a good job!
@opethrulez25
@opethrulez25 Год назад
first time I had to watch a video with 0.75 speed 😂but overall short and to the point 👍
@Sherimankind
@Sherimankind Год назад
Alejandra you talk too fast. Though I enjoy it.
@krisztianbotos168
@krisztianbotos168 Год назад
@@AlejandraStamato Actually it's funny to watch with 2x playback speed. 😂😂
@camilocuesta
@camilocuesta Год назад
She is fast !! Thanks for the video !
@javarmgar
@javarmgar Год назад
Ale, thanks for the talk, I've seen you were going pretty fast I acknowledge your braveryto stand up there and give a presentation, btw, awesome explanation, your excitement is easily transmitable to us. I sent you a linkedin request.
@skarloti
@skarloti Год назад
The presentation is great! There are other applications of use. Thanks to Ale!
@kalidsherefuddin
@kalidsherefuddin Год назад
Thanks
@RanbirSingh-dl9co
@RanbirSingh-dl9co Год назад
Rap Goddess by Ale! though a good explanation.
@oussamahassine7165
@oussamahassine7165 Год назад
4:15 Can you please push this feature? Displaying user suggestions
@saileshsirari2014
@saileshsirari2014 4 месяца назад
Good one
@sudesh6807
@sudesh6807 Год назад
That was fast. Good one though
@skytech2501
@skytech2501 Год назад
nice video. please port all the existing view apis to compose. compose is supposed to make an easier UI development but implementing some of the functionalities like video view, drag and drop list are really complicated. honestly surprised that even with massive amount of engineers working at Google it's taking too long!
@retrojames4226
@retrojames4226 4 месяца назад
And still no data tables either :( I have a feeling compose will be replaced by something else soon enough. It's lacking too many features for desktop UI.
@dleonardo3238
@dleonardo3238 7 месяцев назад
had to put x0.75 speed lol
@revs87
@revs87 7 дней назад
1:09 👀
@lw5495
@lw5495 Месяц назад
Yeah play this at 0.75x
@retrojames4226
@retrojames4226 4 месяца назад
"hoisting state" would be better reworded as "moving state up the tree".
@oscarescam
@oscarescam 3 месяца назад
She speaks too fast 😅 my brain still not has been recomposed when her already said 5 new things
@toystoryscarymovie-forkids3323
non comprehendo
Далее
Practical room migrations
5:55
Просмотров 5 тыс.
ОСКАР И ДЖОНИ БРОСИЛИ НАС 😭
01:00
Styling text in Compose
9:53
Просмотров 31 тыс.
Compose Modifiers deep dive
21:02
Просмотров 32 тыс.
State Hoisting in Jetpack Compose
12:42
Просмотров 976
5 ways Compose improves UI testing
5:09
Просмотров 12 тыс.
Introduction to drawing in Compose
9:29
Просмотров 41 тыс.
More performance tips for Jetpack Compose
20:47
Просмотров 38 тыс.
Здесь упор в процессор
18:02
Просмотров 75 тыс.