Per Jansson
overflow: hidden | clip
Box( modifier = Modifier .size(200.dp) .background(Color.Yellow) .onGloballyPositioned { coordinates -> Log.d("BoxSize", "OUTER Width: ${coordinates.size.width}, Height: ${coordinates.size.height}") } ) { Box( modifier = Modifier .fillMaxWidth() .height(400.dp) .background(Color.Blue) .onGloballyPositioned { coordinates -> Log.d("BoxSize", "INNER Width: ${coordinates.size.width}, Height: ${coordinates.size.height}") } ) }
Recca Chao
Marcin Wisniowski
André Thiele
magnumrocha
java.lang.IllegalAccessError: class org.jetbrains.kotlin.kapt3.base.KaptContext (in unnamed module @0x50148e28) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x50148e28
iroyo
james
runBlocking { val error = IllegalAccessException("Bad things are happening!") val message = "Isn't it a nice day" Span.current()?.let { span -> val attributes = Attributes.builder().apply { message?.let { put("error_message", it) } } .build() span.setStatus(StatusCode.ERROR) span.recordException(throwable, attributes) } launch { // This will cause the spans to get linked together and then sync metadata from the above. @WithSpan suspendFunction() } }
v79
init { }
Valentin Gusselnikov
Image
Button
ConstraintLayout
ritesh
HtmlCompat.fromHtml()
A modern programming language that makes developers happier.