
What do the @Stable and @Immutable annotations mean in …
Jul 29, 2021 · While studying through the Jetpack Compose sample project, I saw @Stable and @Immutable annotations. I've been looking through the Android documentation and GitHub …
Jetpack Compose: nested LazyColumn / LazyRow - Stack Overflow
May 17, 2022 · You can implement a nested LazyColumn in Jetpack Compose using fillParentMaxSize () to manage the size of the inner LazyColumn, similarly for a LazyRow. …
android - Jetpack Compose: How to put a LazyVerticalGrid inside a ...
Jun 10, 2021 · When trying to put a LazyVerticalGrid inside a scrollable Column I get the following error: java.lang.IllegalStateException: Nesting scrollable in the same direction layouts like …
Jetpack Compose: "Unresolved reference: BottomNavigation"
Apr 30, 2023 · Jetpack Compose: "Unresolved reference: BottomNavigation" Asked 2 years, 7 months ago Modified 2 years ago Viewed 8k times
android - Jetpack Compose: Launch ActivityResultContract request …
Nov 6, 2020 · One could get around this by creating custom ActivityResultContract, which, at launch, take a callback. However, this would mean that virtually none of the built-in …
Remember LazyColumn Scroll Position - Jetpack Compose
Aug 1, 2021 · I'm trying to save/remember LazyColumn scroll position when I navigate away from one composable screen to another. Even if I pass a rememberLazyListState to a LazyColumn …
Jetpack Compose: Custom TextField design - Stack Overflow
Oct 26, 2020 · In general, most components in Jetpack Compose seem to be very easy to customize. However, the same cannot be said for the TextField. For example, say that I …
How do I set a shadow color for Jetpack Compose?
Feb 15, 2021 · 16 Compose 1.2.0-alpha06 now supports shadow color attribute for the graphics layer modifier! ambientColor and spotColor can change the color of your shadow. It's only …
Jetpack Compose - Scroll to focused composable in Column
Feb 17, 2021 · Jetpack Compose - Scroll to focused composable in Column Asked 4 years, 10 months ago Modified 12 months ago Viewed 20k times
How to use string resources in Android Jetpack Compose?
As of compose 1.0.0-alpha10 there's no build-in function for obtaining a plural resource, but you can get the android context via LocalContext and use it the same way as you do it in a view …