A great overview of best practices for Android developers.
Keyboard shortcuts makes everything easier. This is the first post in a series of posts about Android Studio Shortcuts, just click on the next post (bottom of the page). To be honest, I didn’t know a lot of them, for example: “Go to next Error” = F2.
Everything you need to know about animating views and transitions. The next time you need to implement an animation this post is a great place to start. There are also live examples of all the animations so even if you are not currently working on animations, it’s worth reviewing it so you’ll know which animations are available to you. Bookmark for future use.
In the last few weeks I’ve seen a lot of posts about the Android Data binding tools. Using data bindings removes a lot of the boilerplate code used for updating UI (Views) to the correct state. This post shows a clear example of how to use it and how to support tags too.
If you never heard of the 16ms per frame rule you need to read this post. Seriously. The short version: our eyes and brain “think” that motion is smooth when 60 frames are rendered every second. Every app needs to render frames fast to deliver this experience. Even if you are familiar with the rule, this is a great reminder on why it is important.
Just like the title suggests findViewById may soon be irrelevant. This post is a short introduction to Data Bindings and their advantages. The best part: no reflection and no fancy run-time mechanisms.
One of the more interesting new tools introduced during I/O is the new ConstraintLayout (iOS?).. It’s compatible all the way back to API 9 which makes it relevant to all Android apps and it is expected to replace all the complex layout views. This post is a great starting point to get all the basics of the new layout and how to use it. Must read.
There were a lot of interesting sessions in Google I/O. The full playlist is available on youtube. I find this one mandatory. It’s a fast tour of all the latest and greatest changes to the development tools.
There are (too) many options when it comes to scheduling code execution on Android. HandlerThread, AlarmManager, JobScheduler, GCMNetworkManager to name a few. This overview will help you figure out which to use and when. Must read for Android developers.
The concept of Android Tasks isn’t easy for most people. This time Ian Lake, Android Developer Advocate at Google posts a simple and short analysis. Recommended.