Navigation Compose on every screen size

  Рет қаралды 21,521

Android Developers

Android Developers

Күн бұрын

Пікірлер: 28
@StraplessReligion
@StraplessReligion 2 жыл бұрын
so, there no silver bullet for all screensizes. at least a talk about it i was missing so far, also shines a bit more light on the navhost
@AndroidDevelopers
@AndroidDevelopers 2 жыл бұрын
We're not quite able to take down the werewolf that is all screen sizes, but we are making it easier to manage! Arm yourself to tackle all screen sizes by checking out our codelab: goo.gle/3DLSdyA
@Sherimankind
@Sherimankind 2 жыл бұрын
What do we deprecate this time??
@zaryabK-vi8fh
@zaryabK-vi8fh 2 жыл бұрын
@@Sherimankind 😂😂
@codelabspro
@codelabspro 2 жыл бұрын
Compose is now deprecated 😂 Please use CSS instead 😂
@zaryabK-vi8fh
@zaryabK-vi8fh 2 жыл бұрын
@@codelabspro hahaha 🤣
@marlonlom
@marlonlom 4 ай бұрын
What to say about wearos android apps and navigation? similar navcontroller? how to implement android ui tests?
@LaughTale1993
@LaughTale1993 Жыл бұрын
Hi @Android Developers Android Developers I am having a problem. Since 2-3 months now im working on my startup which is 2 apps using the same databases I don't know if I might call it like that...its like UBER which have the users(customers app) and users(drivers app) but both communicating with the same database...as a self taught android developer, im a little bit lost about how to connect the apps together...can someone give me a way pls, THANKS guys.
@theren8311
@theren8311 Жыл бұрын
Sounds like you just need a backend application. Like Firebase's Functions or a Spring Boot backend, or a Rails backend. Basically, the apps already "connect" to each other, since they are using the same DB, they just present data (assuming by same DB you meant a DB running on a remote db server and not the device). To make that more streamlined, a backend would orchestrate the mobile apps state. So driver app, sends detail to backend, backend pushes detail to customer app, and vice versa. Thus, only the backend R/W to the DB.
@LaughTale1993
@LaughTale1993 Жыл бұрын
@@theren8311 i am using Colton as programming language instead of java...but as database I used Room database instead firebase or SQL as other developers...
@yewo.m
@yewo.m 9 ай бұрын
​@@LaughTale1993 Colton or Kotlin?
@Dmitriy_Aralov
@Dmitriy_Aralov 2 жыл бұрын
Thanks Jeremy!
@seguramlk
@seguramlk 9 ай бұрын
All that shenenigan to go from one screen to another ):
@stevensilitonga
@stevensilitonga 8 ай бұрын
use a when statement.
@jaehwanoh2002
@jaehwanoh2002 Жыл бұрын
Where can I get this code? Especially example with deep link part.
@clementjoymasinamela4244
@clementjoymasinamela4244 2 жыл бұрын
Thanks, very informative.
@pinoy_marites_beh
@pinoy_marites_beh 2 жыл бұрын
I know I have to dig further but just leaving a naive question, what's the difference between movableContent() vs rememberUpdatedState() ?
@Zhuinden
@Zhuinden 2 жыл бұрын
they are very different things, movableContentOf lets you "move" the same-looking composable hierarchy from A to B based on its ID, while rememberUpdatedState is a way to ensure that effects receive the latest incoming argument values even if the keys don't invalidate and recreate the effect.
@pinoy_marites_beh
@pinoy_marites_beh 2 жыл бұрын
@@Zhuinden thank you.
@pablovaldes6022
@pablovaldes6022 2 жыл бұрын
The NavHost/NavController behavior is that of a Backstack. If I want a different behavior, let's say a card roulette for a TV App or a navigation that allows more than one item Active in the screen at the same time, then it won't fit my needs. I think you guys should make the NavHost/NavController API more open to customizations. My navigation may not be "Backstack" related
@benedikthengst6818
@benedikthengst6818 2 жыл бұрын
Fully agree with it
@theren8311
@theren8311 Жыл бұрын
Sounds like you just need another nav host. You can create a Nav Host per upper/main content. So in other words each screen has their own nav host with it's own nav graph. Hopefully I understood your problem correctly.
@radu2173
@radu2173 Жыл бұрын
"Muvu content"
@mondoshigua
@mondoshigua 2 жыл бұрын
📱🇨🇴🙋🏻‍♂️👍🏼🤝🏼
Insets: Compose edition
6:32
Android Developers
Рет қаралды 23 М.
Gestures in Jetpack Compose
31:33
Android Developers
Рет қаралды 26 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Jetpack Compose Navigation for Beginners - Android Studio Tutorial
19:23
Philipp Lackner
Рет қаралды 152 М.
Navigation Compose meet Type Safety
16:50
Android Developers
Рет қаралды 19 М.
Bottom Navigation with Jetpack Compose
15:29
Stevdza-San
Рет қаралды 56 М.
Compose: Implementing responsive UI for larger screens
18:28
Android Developers
Рет қаралды 10 М.
The ULTIMATE Guide to Sharing Data Between Screens in Jetpack Compose
24:08
How to Support All Screen Sizes in Jetpack Compose
11:57
Philipp Lackner
Рет қаралды 31 М.
Fundamentals of Compose Layouts and Modifiers - MAD Skills
11:56
Android Developers
Рет қаралды 108 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН