We are working on extensions to our companions mechanism to unlock new code patterns and improve interoperability across different platforms. This post outlines these new features and provides preliminary guidance on migration.
Tag: kotlin
Ktorfit
https://klibs.io/project/Foso/Ktorfit
Ktorfit is an HTTP client/Kotlin Symbol Processor for Kotlin Multiplatform ( Android, iOS, Js, Jvm, Linux) using KSP and Ktor clients inspired by Retrofit
Built in Kotlin
Deprecated ‘org.jetbrains.kotlin.android’ plugin usage
The ‘org.jetbrains.kotlin.android’ plugin in project ‘:app’ is no longer required for Kotlin support since AGP 9.0.
Solution: Remove both android.builtInKotlin=true and android.newDsl=false from gradle.properties, then migrate to built-in Kotlin.
See https://kotl.in/gradle/agp-built-in-kotlin for more details.
https://developer.android.com/build/migrate-to-built-in-kotlin
Why are function types stable in Compose
Why are function types stable in Compose? At first, this seems like a strange decision. Lambda expressions can capture mutable or unstable values. Why is () → List stable, if List is unstable? Does it make sense? Yes!
Continue reading Why are function types stable in Compose