Every other cross-platform framework makes you buy the whole runtime. KMP lets you choose how far up the stack you share, feature by feature. Here's the dial, what each detent costs, and who's actually paying for it.
Tag
android
8 articles with this tag.
A singleton store survives rotation for free and dies with the process. StateSaver fixes that in four lines. Then there's the bug you hit after it works.
If you run into this in Android Studio, you may need a gradle update. I've ran into this while using Gradle v5.6.2 and Kotlin v1.3.61. I was also using the kotl
A common pattern is to delay execution of some code for a given amount of time. In Android and iOS there are several ways to do, such as the above snippet. How
Earlier this year I began work on ReduxKotlin.org – a port of the Javascript library Redux. This series of posts will describe the what, why, how, and the visio
Using HTML in TextViews can be helpful for formatting, especially when displaying content retrieved from a server. For optimal layout and control a custom nativ
When inflating a layout from XML for a custom view or in an <include> tag in a xml layout, the <merge> tag is essential. The merge tag does exactly that – it me
Android developers get all the benefits of a nice statically compiled language, but that comes at a cost – build time. Compile times can add up quickly and be a