Johnson LeeKotlin FunctionReference Deep DivePrior to Booster 4.15.0, it always uses Kotlin 1.3, The main reason for using a lower Kotlin version is the incompatibility issues…Dec 9, 2022Dec 9, 2022
Johnson LeeGenerating Build Info as Source Code for Gradle ProjectA simpler way to generate build info as source codeJul 9, 20222Jul 9, 20222
Johnson LeeKotlin Metadata Deep DiveRecently, I encountered a headache when using KAPT to generate Kotlin source code at compile time, the generated Kotlin code needs to call…Jun 8, 2022Jun 8, 2022
Johnson LeeBest Practices for Data ImmutabilityAs we know, a String object in Java is immutable, as a wide-used data type, immutable String objects have more benefits:May 22, 2022May 22, 2022
Johnson LeeConvenient Way to Mutate Immutable ObjectsAs the Immutable Object becomes the default pattern of functional programming language, such as Value Object in Java, and Data Class in…May 21, 2022May 21, 2022
Johnson LeeIt’s time to abandon JavaPoet/KotlinPoetI believe every Android engineer is no stranger to JavaPoet and KotlinPoet, both from the well-known Square. Generally, when we use APT…May 20, 20221May 20, 20221