kokchaiReturn Int instead of Boolean in a functionIf there is a function that you want to know it’s true or false, it’s very straightforward to declare it as a Boolean return type. Like,Jan 24, 2021Jan 24, 2021
kokchai[Android] How to check the secret of the application and protect it ?Prerequisites:May 23, 2020May 23, 2020
kokchai[Kotlin] Using SDK_INT or targetSDK as the if-condition ?Look at build.gradle:May 9, 2020May 9, 2020
kokchai[Android][My Two Cents] Rename R.string.xxx and R.layout.yyyLook at the obfuscated code below:May 9, 2020May 9, 2020
kokchai[Kotlin] Get rid of Kotlin generated code of value checkingLook at the code below:May 9, 2020May 9, 2020
kokchaiGet rid of Kotlin generated check — “null cannot be cast to non-null type”Use case 1:May 7, 2020May 7, 2020