PinnedRaymond ChanAdopting Kotlin Multiplatform (KMP) on 9GAG AppOpinions expressed are solely my own and do not express the views or opinions of my employer.6 min read·Dec 17, 2022----
Raymond ChanConfiguring 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:1 min read·Oct 11, 2023----
Raymond ChanXcode 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…2 min read·Oct 4, 2023----
Raymond ChanSending 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…1 min read·Oct 2, 2023----
Raymond ChanChanging 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…1 min read·Jul 1, 2023----
Raymond ChanGson, 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…1 min read·Oct 23, 2018----
Raymond ChanFastlane with RVM on macOSWhy should you use RVM instead of using system’s Ruby?1 min read·Jul 27, 2018--1--1
Raymond ChanSurprising 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…1 min read·Jul 13, 2018--1--1
Raymond ChanPublisherAdView 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…1 min read·Apr 17, 2018--1--1
Raymond ChanMy 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…3 min read·Dec 13, 2016----