Assigned
Status Update
Comments
ia...@google.com <ia...@google.com> #2
I simpler example would be appreciated. I tried to download the pull request and build it but it relies on, for example, `rustc` to be installed which I don't have installed on my compose development machine.
Does the program work without the compiler switch. That is, is `"-P", "plugin:androidx.compose.compiler.plugins.kotlin:experimentalStrongSkipping=true",` required to reproduce or is just changing the runtime enough?
Does the program work without the compiler switch. That is, is `"-P", "plugin:androidx.compose.compiler.plugins.kotlin:experimentalStrongSkipping=true",` required to reproduce or is just changing the runtime enough?
mn...@google.com <mn...@google.com>
ap...@google.com <ap...@google.com> #3
Yeah, changing compiler switch(enable/disable StrongSkipping, enable/disable nonSkippingGroup) has no effect, only changing runtime make sense.
Sorry for that, I will try to extract an example when I'm free.
Sorry for that, I will try to extract an example when I'm free.
Description
Jetpack Compose version: 1.6.7
Jetpack Compose component(s) used: ComposeView
Android Studio Build: Android Studio Jellyfish | 2023.3.1 Build #AI-233.14808.21.2331.11709847, built on April 12, 2024
Kotlin version: 1.9.23
Steps to Reproduce or Code Sample to Reproduce:
We have been seeing this compose crash in production, but have not been able to reproduce it. We are currently doing some Recyclerview + ComposeView interoperability - our screen is essentially one vertical RecyclerView. One of the items within this RecyclerView contains a ComposeView that is inflated from an XML layout. We see in our logging a back press occurs before many (if not all) of these crashes.
Here is some RecyclerView.Adapter related code that would be relevant:
Stack trace: