Louis CAD
Louis CAD
Implementing `Serializable` is enough. You can [write a `Serizalizable` to a `Parcel`](https://developer.android.com/reference/android/os/Parcel.html#writeSerializable(java.io.Serializable)), and [you can also put one in a `Bundle`](https://developer.android.com/reference/android/os/Bundle#putSerializable(java.lang.String,%20java.io.Serializable)). If the private methods are generated for the `Serializable`...
There was a discussion about allowing `inline sealed class` hierarchies in https://github.com/Kotlin/KEEP/pull/103#discussion_r179326199. Since inline classes support autoboxing just like primitives, this could be possible to use inline sealed classes and...
@fvasco What's the point of `Baz` in your snippet? Do you have a use case?
@fvasco ~Your second snippet had a wrong class name~ The use case example is a good one regardless 👍
I investigated in applying xml styles programmatically and saw that it's only possible with the 4 arguments View constructor available only on select views on API 21+, excluding Android support...
Just FYI, it's possible to hack the theme a little to be able to use xml styles. That's what I'm doing in Splitties Views DSL (and the Material and AppCompat...
An open question need to be added: support for `suspend fun`. Here's an example: you could initialize an outer scoped `val` from a `withContext { … }` lambda, which could...
I have one concern: It looks like it'll not be possible to use `asStateFlow()`, and other read-only type conversion methods, unless you want to pay the price of that operation...
How doable would it be to address this use case in the design of this feature, or at least, make some room for it for future evolution?
@yschimke You can already have top level `suspend fun` in `.kts` files