Categories
android

Smooth Operator: Using StrictMode to make your Android App ANR free

Performing any kind of long blocking operations or disk IO operations on the Android Main thread can cause ANR issues. (Application Not Responding). You may not even realise that you have a potential ANR until it is too late and is already in your user’s hands. If you are lucky, the library or framework you […]

Categories
android studio ui

Getting Started with the Motion Editor in Android Studio 4.0

Android Studio 4.0 has been released in the stable channel! 🥳 What does this mean for us? Well, the new Motion Editor is in Android Studio 4.0 and if you are someone who prefers to use the stable version of tooling, this is probably your first look at the Motion Editor. In this blog post, […]

Categories
android studio ui

AsyncAndroid: Getting Started with MotionLayout

Wow, what a weird time to be alive, huh? I’m writing this on Day 29 of the lockdown in South Africa due to the COVID-19 pandemic. I’m not sure I have the right words to address the current situation, nor the expertise to talk about it. However, I am good at talking about Android and […]

Categories
android kotlin

Lessons Learnt with Kotlin: Using inline classes 👩‍🔬

What is an inline class? 🧐 An inline class is a special type of class defined in Kotlin that only has one property. At runtime, the compiler will “inline” the property where it was used. This is similar to inline functions, where the compiler inserts the contents of the function into where it was called. Example […]

Categories
android

Become a Master Builder with these Android Dev Tools

Day-to-day tasks as an Android Developer can consist of varying jobs to complete your work effectively. Whether it is making sure your network requests are correct or ensuring pixel-perfect screens, there are a few tools that have made my day-to-day development easier. These are some of my favourites: Vysor Vysor is my go-to tool for […]