Rafs
BackHandler
Rick Regan
animateScrollTo()
Text
Chrys
Vsevolod Ganin
ImageVector
Prasanth
rememberSwipeableState()
val swipeableState = rememberSwipeableState(0)
implementation 'androidx.compose.material3:material3'
napperley
Sergey Y.
GraphicsLayer
Osanosa
java.lang.IllegalArgumentException: layouts are not part of the same hierarchy
SharedTransitionLayout{ Column{ ... AsyncImage(modifier = Modifier.sharedElementWithCallerManagedVisibility( sharedContentState =rememberSharedContentState(key = order.id!!), visible = true )) if (boolean){ Dialog{ AsyncImage(modifier = Modifier.sharedElementWithCallerManagedVisibility( sharedContentState =rememberSharedContentState(key = order.id!!), visible = true )) } } } }
Daniele B
@Composable fun MyComposable(url: String) { val webClient = CustomWebViewClient() val showLoadingMessage by remember { mutableStateOf(true) } Box(modifier = Modifier.fillMaxSize()) { AndroidView( factory = { context -> WebView(context).apply { webViewClient = webClient } }, update = { webView -> if (!webClient.loaded) { webView.loadUrl(url) } else { showLoadingMessage = false } } ) if (showLoadingMessage) { Text(text = "I am loading the page...") } } } class CustomWebViewClient: WebViewClient(){ var loaded = false override fun onPageFinished(view: WebView?, url: String?) { loaded = true } }
Alexandre Brown
org.kodein.mock.mockmp
The provided plugin com.google.devtools.ksp.KotlinSymbolProcessingComponentRegistrar is not compatible with this version of compiler
A modern programming language that makes developers happier.