Skip to content
Any technical information which I come across will be logged here.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android
flutter
iOS
img
.gitignore
LICENSE
README.md

README.md

Link-Me-Up

Any technical information which I come across everyday, will be logged here.

Be Productive



  • Lint’s STOPSHIP can save you from pushing your buggy code to production

  • Be aware of the online tools which will boost your productivity



  • 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}" />

  • Make use of IntelliJ's Live templates this, this



  • Take interviews, test and upgrade your skills time to time




  • 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!")
        }
    }
}


You can’t perform that action at this time.