PinnedAdopting Kotlin Multiplatform (KMP) on 9GAG AppOpinions expressed are solely my own and do not express the views or opinions of my employer.Dec 17, 2022Dec 17, 2022
Configuring your sourceCompatibility, targetCompatibility and kotlinOptions.jvmTarget all at onceRecently I learnt a trick that you can set sourceCompatibility, targetCompatibility and kotlinOptions.jvmTarget all at once:Oct 11, 2023Oct 11, 2023
Xcode crashed with SwiftUI preview and Koin?I encountered a crash in Xcode with Koin recently, when I tried to preview a SwiftUI component in Xcode, it kept crashing with the…Oct 4, 2023Oct 4, 2023
Sending adb command to all of your connected devicesSometimes you may need to perform adb commands on all of the connected devices during development. For example, I sometimes need to install…Oct 2, 20232Oct 2, 20232
Changing app version without a Gradle syncEvery time you would like to test for app upgrade during development, you need to change the versionCode on Android Studio and then…Jul 1, 2023Jul 1, 2023
Gson, Kotlin and Proguard is crashing my app!Lately I have been working with Kotlin, the code base is mixing Java and Kotlin. One of the issues I found is that when Java Gson model is…Oct 23, 2018Oct 23, 2018
Fastlane with RVM on macOSWhy should you use RVM instead of using system’s Ruby?Jul 27, 20181Jul 27, 20181
Surprising API behaviour change for android.text.format.Formatter.formatFileSizeWhile we are implementing a feature to display the cache size in app for users, we think that there should be a simple function in Android…Jul 13, 20181Jul 13, 20181
PublisherAdView is causing RecyclerView (any scrollable view) to shift?Recently the 9GAG Android app has integrated PublisherAdView to post list. We found a strange bug that the list( RecyclerView ) will shift…Apr 17, 20181Apr 17, 20181
My thoughts on React NativeWe are trying to use React Native to rebuild the whole app, so that it can be run on iOS and Android with the same code base at the same…Dec 13, 2016Dec 13, 2016