Tricky Android

Android tips, tricks and everything I found interesting

  1. Gradle tip #4: Log unit test execution events into console

    Today's tip will be really short (but hopefully useful). I personally run Android unit tests manually from command line really often (./gradlew test) - just a habit I believe. However, by default, gradle just silently runs unit test suite w/o communicating progress. Essentially it just fails if some of…

    on android, gradle, protip, tasks

  2. Protip. Inflating layout for your custom view

    Today's protip will be about one of the problems people usually face when they create custom compound views. Let's take a custom compound view as an example and try to figure out what does it take to create one. As you can see, I have a quite decent view here…

    on android, protip, layout