/dev/random
  • Posts
  • About me
13 September 2018
android, kotlin, tips, productivity, tricks, Kotlin and Android

Kotlin and Android #3 — Know your properties

Kotlin and Android #3 — Know your properties

tl;dr Kotlin properties are awesome and super powerful, but each form comes with a bunch of gotchas. Make sure you fully understand them…

Continue reading
06 September 2018
android, kotlin, tips, tricks, productivity, Kotlin and Android

Kotlin and Android #2  —  Treacherous properties

Kotlin and Android #2  —  Treacherous properties

Developers love properties in Kotlin, but a property is not always the right choice. Getting carried away can be risky, so when should we avoid properties?

Continue reading
27 August 2018
android, kotlin, tips, tricks, productivity, Kotlin and Android

Kotlin and Android #1 — by lazy

Kotlin and Android #1  —  by lazy

Many people love by lazy, but it's easy to underestimate and misuse it. When should you use lateinit, and when is by lazy a better choice, as an Android developer?

Continue reading
27 August 2018
android, kotlin, tips, tricks, productivity, Kotlin and Android

Kotlin and Android — An opinionated series (intro)

Kotlin and Android  —  An opinionated series (intro)

In this series we're going to be looking at a few common patterns I have seen Android developers use in Kotlin, and see what's the good and bad in each, and when to use them.

Continue reading
15 May 2018
android, ide, android studio, productivity, tips, tricks

Quick Android Studio tip: debug logs without code

Quick Android Studio tip: debug logs without code

Instead of writing debug logging code, you can take advantage of the IDE tools. No more log statements forgot here and there!

Continue reading
08 February 2018
git, static analysis, tooling, tips, tricks, ci, continuous integration, code quality

Ooga-chaka: Git hooks to enforce code quality

Ooga-chaka: Git hooks to enforce code quality

Use git hooks to prevent code formatting and static analysis from making your CI unhappy.

Continue reading
03 November 2017
android, elevation, material design

Playing with elevation in Android

Playing with elevation in Android

Material Design dictates sheets must have a shadow, and most devs think that it cannot be customised beyond the elevation value. But they're not exactly right…

Continue reading
15 September 2017
android, code quality

Where do layout_* attributes belong?

Where do layout_* attributes belong?

Not all attributes are created equal. Some are more equal than others, so where should you put your layout_* attributes?

Continue reading
Newer 2 of 6 Older

Tags

  • android
  • android lint
  • android p
  • android studio
  • audio
  • backend
  • bintray
  • central
  • ci
  • code quality
  • conference
  • continuous integration
  • deep dive
  • droidcon
  • droidcon italy
  • droidcon turin
  • elevation
  • fake
  • firebase
  • firestore
  • git
  • gradle
  • ide
  • ide protips
  • infographics
  • insights
  • intellij idea
  • jcenter
  • jfrog
  • kotlin
  • Kotlin and Android
  • material design
  • maven
  • mock
  • numbers
  • productivity
  • psa
  • random
  • remote
  • security
  • smart lock
  • squanchy
  • static analysis
  • stub
  • test
  • testing
  • tips
  • tooling
  • tour
  • travel
  • tricks
  • ui
  • unit testing
  • ux
  • video
  • wtf
Copyright © 2023, Sebastiano Poggi.
Except where otherwise noted, content on this site is licensed under a Creative Commons BY-SA 4.0 International licence.