Any technical information which I come across everyday, will be logged here.
-
Android
-
Flutter
-
iOS
- Know the power of
.gitignore
and push only what is needed.git rm --cached <file>
to your rescue if you want to remove already tracked files
- Use
alias
and make terminal work for you. Few of nisrulz adb aliases
- Lint’s STOPSHIP can save you from pushing your buggy code to production
- Be aware of the online tools which will boost your productivity
- Use LeakCanary to find memory leak in app
- Learn MVP, MVVM, MVI architectural patterns
- Create build time resource/variables in
build.gradle
android{
defaultConfig {
...
//Build variable
buildConfigField "String", "NEWS_API", '"YOUR_NEWS_API"'
//Resource variable
resValue 'string', 'APP_NAME', APP_NAME
//Manifest Placeholder
manifestPlaceholders = [crashlyticsApiKey: "514bec26d15bb8f67dc8129f0eda3cabf79fXXXX"]
...
}
}
//Can be accessed as
BuildConfig.NEWS_API
getString(R.string.APP_NAME);
<meta-data
android:name="io.fabric.Api∏Key"
android:value="${crashlyticsApiKey}" />
- Stay updated and Learn from youtube programming channels
- Android Gradle DSL ref - Be productive by using gradle scripts of building and delevering your app
- Take interviews, test and upgrade your skills time to time
- Kotlin standard functions(let, apply, with, also, run), When to use Kotlin's standard functions and when to use what?
- You can now debug
build.gradle
file using IntelliJ IDE [Ref link]
- Learn everything about
ConstraintLayout
here. This has some cool tips and tricks as well.
- Run single kotlin class with main function in android studio
class Sample {
companion object {
@JvmStatic
fun main(args: Array<String>) {
print("Hello World!")
}
}
}