ACabhinesh chandrainabhinesh.hashnode.dev·Mar 28, 2022 · 1 min readAndroid useful functionsCovert java code to kotlin in android studio ref - java-source-file-to-kotlin Menu > Tools > Kotlin > Show Kotlin Bytecode Click on the Decompile button Copy the java code00
ACabhinesh chandrainabhinesh.hashnode.dev·Mar 8, 2022 · 14 min readAndroid 101Log //use logd shortcut //use this to debug code Log.d("main","error") //print exception in logs try { val a = 5/0; } catch (e : Exception) { Log.e("main","zero error",e) } //use class name for logs var...00
ACabhinesh chandrainabhinesh.hashnode.dev·Feb 8, 2022 · 2 min readMy Work (Android)Toggle Overview - It is used to turn on or off features for users remotely. If it is enabled, the user will be able to see the feature otherwise the feature will not be visible to the user. eg - Suppose there is a feature that asks the user their nam...00
ACabhinesh chandrainabhinesh.hashnode.dev·Feb 8, 2022 · 7 min readAndroid Best PracticesCode Commit We generally commit code with jeera ticket no. So that it is easy to track. Feature Development Suppose you want to add a new feature to the app. You can create a new branch from develop and give a name as feature or bugfix keyword - jeer...00
ACabhinesh chandrainabhinesh.hashnode.dev·Jan 10, 2022 · 1 min readweb devreferences - neogcamp print your name console.log("abhinesh chandra"); take input and print output var readlineSync = require('readline-sync'); var userName = readlineSync.question('May I have your name?'); console.log(userName); concatenation cons...00