DON'T Update Your UI Like THIS In Compose

preview_player
Показать описание
Follow for more Android & Kotlin tips 🙌
Рекомендации по теме
Комментарии
Автор

All my homies are collecting state in the activity itself

MrSN
Автор

Kotlin and android Dev is getting out of hand everything you do comes with 10 gotchas

martinseal
Автор

A complete new dependencies just to do simple core things??

Like new dependency just for extention functions for suspend instead of callback

I know it because of kotlin support and java the main one, but why not make single dependency for kotlin for all that things instead of kotlin support dependency for every core feature like coroutines

I think android team should think in better way

freshtechtips
Автор

I thought any state is discarded once the composable is disposed of !

mohegyux
Автор

I dont understand why jetpack Compose developers dont just use mutableStateOf in ViewModel so we dont need to use collect at UI

alihamad
Автор

ok I have a question. When ur app then goes to the foreground after being in the background, this thing gets notified and update the state, how can I prevent this ? Say I have a snackbar that I have already shown, and i don't wan to show it anymore when the app goes to the foreground

malikkissoum
Автор

@Philipp there is a question that came up in my mind when I was dealing with saving UI state, should we use rememberSaveable or ViewModel's saved state handle? 🤔

khiariyoussef
Автор

How to automatically allow access(grant permission)usb serial on android?

phamquangtrung
Автор

Day by day Android developement is losing its popularity by this complex things

my_love_sanatan