alexhelder
11/13/2025, 1:07 AMLinearSnapHelper for RecyclerView (solved)Alex Styl
11/13/2025, 4:04 AM./gradlew clean and then a rebuild from the IDE. Worked everytime so far
PS: It seems like the dependency >has< to be on commonAlex Styl
11/13/2025, 5:27 AMAlex Styl
11/13/2025, 11:52 AMeygraber
11/14/2025, 5:45 PMSnapshotStateList need to be guarded against concurrent modifications? e.g.
remember {
derivedStateOf {
// paging.items is a SnapshotStateList
paging.items.count { ... }
}
}
should I be copying the list before iterating over it in the derivedStateOf, or do the semantics of the snapshot system prevent that view of it from being modified concurrently?alexhelder
11/15/2025, 8:15 AMTopAppBar that simply takes a single Composable (no slots for nav, title, subtitle, actions, etc) and has support for nested scrolling?bod
11/15/2025, 6:28 PM:ui which has the jvm() target, in it I'm calling val myFontFamily = FontFamily(Font(Res.font.myFont, FontWeight.Normal)) and use it.
Then I have :desktopApp and :androidApp modules that depend on :ui .
On Desktop it's working as expected but on Android I'm getting NoClassDefFoundError: Failed resolution of: Lorg/jetbrains/compose/resources/FontResources_skikoKt;
What am I missing?Jonas
11/16/2025, 11:31 AMabdl
11/17/2025, 7:25 AMThe following content provider authorities are in use by other developers: network.chaintech.cmp.screenshot.fileprovider . How to resolve it, any solution?ursus
11/17/2025, 2:40 PMAnnotationString span on a angle? Rotation doesn't seem to be available on SpanStyle .. can I have custom rendering for a given span? (Or maybe some other technique?)Phodal
11/17/2025, 4:39 PMVivek Modi
11/19/2025, 7:41 AMLukasz Kalnik
11/19/2025, 10:52 AMTepes Lucian Victor
11/19/2025, 1:27 PMContentScale when performing shared element transitions? Official docs still lists it as a current limitation https://developer.android.com/develop/ui/compose/animation/shared-elements#current-limitationsKonstantin Klassen
11/19/2025, 2:51 PMJonathan
11/20/2025, 12:42 AMWindowInset.statusBar insets to the top edge of my bottom sheet as it’s expanded so that it’s always beneath the status bar but when the sheet isn’t close to the status bar I’d like to ignore it. This section of the WindowInsets guide leads me to believe this type of complex content inset/padding interaction is possible. I just don’t know where to start.juliocbcotta
11/20/2025, 2:01 PMErnestas
11/20/2025, 2:08 PMExpandedFullScreenSearchBar?Luca
11/20/2025, 6:07 PM@Preview in commonMain? None of my resources will loadMarcin Wisniowski
11/20/2025, 6:43 PMAnimatedContent. AnimatedContent.kt has internal val targetSizeMap = mutableScatterMapOf<S, State<IntSize>>() which grows indefinitely as animations happen and is not cleared. I did a heap dump of my application and the targetSizeMap takes 420MB of RAM (after many thousands animations). Is this a known issue? Am I potentially doing something wrong?Thierry Kh
11/20/2025, 7:20 PMStylianos Gakis
11/21/2025, 11:46 AMimplementation(compose.preview) or implementation(compose.uiTooling) from the org.jetbrains.compose gradle plugin, I am getting Unresolved platforms: [iosArm64, iosSimulatorArm64, iosX64]
Do iOS targets not exist for those dependencies? Do androidx.compose.ui.tooling.preview.PreviewParameter etc implementations exist for common code for iOS as well or just not at all? Perhaps I am trying to bring in the wrong dependency somehow? A bit hard to find more info on this from googling aroundStylianos Gakis
11/21/2025, 4:01 PMandroid {
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
}
But I can't find the way to apply the same when doing:
kotlin {
androidLibrary {
defaultConfig... <-- unresolved
}
}
Is there a way for me to configure this here?Vivek Modi
11/21/2025, 9:17 PMgalex
11/22/2025, 8:15 AMnav3 now that I started to use it more deeply:
1. There's only one SceneStrategy parameter on NavDisplay, what if I want to use multiple ones on different screens, meaning sometimes I need dialogs, sometimes bottom sheets, sometimes list-detail, etc...
2. Using the bottom sheet recipe in addition to the ResultEventBus recipe, how can I be notified that the bottom sheet is dismissed so I can trigger a Result on the screen that opened it?
Thank you in advance!wisha khn
11/22/2025, 11:37 PMEkaterina Volodko [JB]
11/24/2025, 2:20 PMGuillaume B
11/25/2025, 9:13 AMnav3 and I have a question regarding the scene strategy. Do we have a way for the composables to be aware of the strategy ? Meaning I have a composable that is marked as a detail pane, and I want to modify a bit the ui when that composable is displayed within the scene (vs when it's displayed full screen, not as a detail pane)eygraber
11/25/2025, 9:58 AMStylianos Gakis
11/25/2025, 1:23 PMorg.jetbrains.compose.resources.ResourcesExtension from my gradle convention plugin, but I can't seem to find the way to do this at the right time.
When doing:
project.pluginManager.apply("org.jetbrains.compose")
project.pluginManager.withPlugin("org.jetbrains.compose") {
// 1
project.configure<org.jetbrains.compose.resources.ResourcesExtension> {
// 2
}
}
I can see that I can get in //1 but not in //2.
I see that the resources extension is created after the ComposePlugin is applied https://github.com/JetBrains/compose-multiplatform/blob/1b40a6db80c9f97859ac56c088[…]/compose/src/main/kotlin/org/jetbrains/compose/ComposePlugin.kt so I figured it should be available.
When using the generated DSL and doing this outside of my convention plugin (compose.resources { ... }) this works fine, so I am sure there is something I am doing wrong regarding the ordering of things. Or it's something else I don't understand.