Waldemar Kornewald
Joffrey
inline
inline fun doStuffInline() { myPrivateInline() // ERROR: Public-API inline function cannot access non-public-API 'private inline fun myPrivateInline(): Unit defined in root package in file File.kt' } private inline fun myPrivateInline() { println("Anyone can call this print statement") }
Ilan Sasportas
AnimatedContent
@Composable fun MyComposable(content: MyState, modifier: Modifier) { AnimatedContent( targetState = content, transitionSpec = { fadeIn(animationSpec = tween(500)) with fadeOut(animationSpec = tween(500)) } ) { targetState, contentModifier -> when (targetState) { is MyState.Loading -> LoadingContent(contentModifier) is MyState.Success -> SuccessContent( model = targetState.successModel, modifier = contentModifier ) is MyState.Error -> ErrorContent( model = targetState.errorModel, modifier = contentModifier ) } } }
dkim
loloof64
androidx.lifecycle:lifecycle-viewmodel-compose:2.5.0
Jawid
The feature "multi platform projects" is experimental and should be enabled explicitly
teremy
Big Chungus
Hristijan
hantsy
> Could not find org.jetbrains.kotlin:kotlin-scripting-jvm:1.8.20. Searched in the following locations: - file:/C:/Users/hantsy/.android/manual-offline-m2/gmaven_stable/org/jetbrains/kotlin/kotlin-scripting-jvm/1.8.20/kotlin-scripting-jvm-1.8.20.pom - <https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-scripting-jvm/1.8.20/kotlin-scripting-jvm-1.8.20.pom> Required by: project : > org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.8.20 > org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.20 > org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.8.20
A modern programming language that makes developers happier.