Ten #AndroidLifeHacks You Can Use Today

Tip 1: Green Gutter Culture

The Green Checkmark of Success. It’s in the top right corner of the Android Studio code editor.

Tip 2: Treat all Kotlin warnings as errors

Tip 3: ViewBinding Delegate

Tip 4: fadeTo(visible)

Tip 5: mapDistinct()

Tip 6: uniqueObservable()

  1. Often, you only want to do something when a value has changed.
  2. When that is all you want, writing the lambda with 3 parameters and checking for equality felt like too much boilerplate.

Tip 7: Debug + Coroutine Broadcast Receivers

Tip 8: ConflatedJob

Tip 9: Timber Property Delegate

Tip 10: Number.dp



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store