This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is now available at https://google.github.io/accompanist/drawablepainter/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun myUIViewController( | |
content: @Composable () -> Unit, | |
): UIViewController = ComposeUIViewController { | |
val controller = LocalUIViewController.current | |
DisposableEffect(controller) { | |
controller.forceTransparentBackground() | |
onDispose { /* no-op */ } | |
} | |
// Rest of your Compose code |
OlderNewer