Takahiro Menju
Takahiro Menju
@jeppeman Thanks. Robolectric doesn't have a real window manager, so we have to composite the windows ourselves. Do you have any idea where that background color is coming from?
Thanks for digging into this and sharing your findings! You're right, using dimAmount seems to be the correct approach. I've created a PR to experiment with it. It doesn't fully...
Thank you for providing this valuable feature! I think we can use it here. https://github.com/takahirom/roborazzi/blob/main/roborazzi-compose-preview-scanner-support/src/main/java/com/github/takahirom/roborazzi/RobolectricPreviewInfosApplier.kt#L10
If you can handle this, that would be much appreciated! Thank you!
When creating `verifyAndRecord`, we thought that we could assert one thing as a test practice because if a test fails, you can see the test case—and if it is a...
I think managing the backstack might be challenging if only one composition local is provided. It might be beneficial if we could use ViewModels and Lifecycles from Compose Multiplatform instead...
I think you can use `JetBrains Compose Multiplatform Navigation's ViewModel` instead of `RetainedStateRegistry`. The title "without composition local manual setup" might not be appropriate because my intention is to use...
Well, as you know, this is my library, and it just uses `androidx.lifecycle.viewmodel.compose.viewModel`. https://github.com/takahirom/Rin/blob/main/rin/src/commonMain/kotlin/io/github/takahirom/rin/Rin.kt
I think we don't need to add a dependency on the navigation library. The navigation library provides a composition local, which we can use. https://github.com/JetBrains/compose-multiplatform-core/blob/3d261f98fa347b61bdd21af7b8cb5967488eb2ca/navigation/navigation-compose/src/jbMain/kotlin/androidx/navigation/compose/NavBackStackEntryProvider.jb.kt#L38
To be clear, I think we needed to be done with different CompositionLocal implementations. What I wanted was an easy setup for most Compose users. Perhaps "Enable circuit-retained without manual...