While Android supports most Java language features, it doesn’t support every API that Java provides. On the other hand, Kotlin multiplatform only allows sharing code across all targets (commonMain), not a subset of targets (commonJvm).
Short, powerful post on how to test the release version of libraries directly within a project without having to deploy them to Maven first.
11 Nov 2020
Ever had a build failure while integrating an SDK? Wonder how you can avoid your SDK customers having dependency conflicts? How many transitive dependencies should your SDK have?
04 Nov 2020
With modularization being all the hype, should you also modularize an SDK? Are fat aar files really needed? And how do you prevent internal APIs from being exposed on your public interface?
28 Oct 2020
Having switched to Android SDK development over the past year, I’ve run into quite a few interesting and unexpected challenges. So how does library development differ from app development?
19 Feb 2020
A great way to make your library easier to use it to generate code documentation for its public interface. The default way to do this in Kotlin is to generate KDoc using the official Dokka plugin.
06 Dec 2018
Learning from analyzing code is one of the greatest ways to improve your skills. Can you spot the mistakes in the tests below?
01 Nov 2018
Java interop is one of the best features of the Kotlin language, yet sometimes this also can cause unforeseen issues…
25 Sep 2018
Kotlin is an incredibly enjoyable, concise and powerful programming language. Yet sometimes also a bit confusing…
13 Sep 2017
This isn’t another post about the benefits of using Kotlin. Hell, I’m not even going to cover any of its language features. Nor will I try to convince you to make the switch.