Louis CAD
Louis CAD
Here's what I've been using for starting Activities: ```kotlin inline fun Context.start(configIntent: Intent.() -> Unit = {}) { startActivity(Intent(this, A::class.java).apply(configIntent)) } inline fun Context.startActivity(action: String, configIntent: Intent.() -> Unit =...
@Ioane5 I wrote a small library for typesafe `Bundle`s, without any annotation processing, just plain Kotlin. Here's an example: https://github.com/LouisCAD/Splitties/tree/72a7faef07ae8ad8918c5c5f4d1f9c0ff3aad0f3/intents/README.md#example I doubt this would be integrated into Android KTX because...
@Ioane5 This currently results into a runtime error, but in case of Fragments, it could be catched earlier with Android lint as required arguments are the ones delegated by `arg()`...
If the methods don't return the last expression, they shouldn't be named `withXXX` IMHO. `doWithXXX` or `applyWithXXX` would be less confusing in regards to the naming convention. The `do` variant...
Hello @carlonzo, I don't think it's related to CompleteKotlin itself, but most likely to some tooling issues that might depend on the versions of Kotlin, the IDE, the Kotlin IDE...
@sellmair Note that stdlib and lack of multiplatform features (like no `expect`/`actual` availability) are quite common (pun intended, I think it actually always happen) when there's only one target. Should...
Hello @carlonzo, do you still have the issue with version 1.1.0 of the plugin?
Can you try after moving the setup from `settings.gradle[.kts]` to `build.gradle[.kts]`?
Hello, do you still have the issue with the just released version 1.1.0 of CompleteKotlin?
Hello! Which Kotlin version is the project using? Can you try with a freshly created project from the IDE wizard to see if you get the same issue? If not,...