Category: Android

How to delete a module in Android Studio

During my lifetime developing in Android Studio I never knew how to delete a module… when “Right clicking” the module it never gave me the option to delete. That’s why I started to google and share this insight with all of you. Step 1. Right click on the Project...

How the 64-bit requirement decreased my app size

“Starting August 1, 2019, your apps published on Google Play will need to support 64-bit architectures. 64-bit CPUs deliver faster, richer experiences for your users. Adding a 64-bit version of your app provides performance improvements, makes way for future innovation, and sets you up for devices with 64-bit-only hardware.” This...

Pyre – #1 The beginning

Perfection, that is something I’m always trying to pursuit. It’s hard to follow all the new trends and concepts that are coming out for Android. My goal is not to learn all of them but atleast know what they are and perhaps some hands-on coding to get an idea....

Kotlin Sealed Classes

Working with states can be a hassle! I used enums to check which state the application was in. For instance when the application was in an error state I assigned the enum value to ERROR but there wasn’t a data holder where I could place my exception. Enum’s can...

BehaviorSubject vs LiveData

LiveData and BehaviorSubject both have reactive capabilities, namely When that item changes notify all active subscribers and keep doing the same for future changes. LiveData’s observers always receive events on the main thread, BehaviorSubject not necessarily do that but can be fixed by subject.observeOn(AndroidSchedulers.mainThread()). What is the main difference? Let’s...

Git Hook – Commit message

Within my company there is a rule to always make sure you have the story number of Jira in the commit message. I forgot to do this so many times… and it’s a tedious job to do every single time. Surely there must be a automatic way to do...

Android API – Dividers?

During day to day development you easily forget some neat little features that might have slipped through your mind. This time we are diving into a feature of the LinearLayout. Imagine a simple horizontal LinearLayout, wherein 3 squares are shown: The requirement is to show a divider between the...

Kotlin Platform Types

I was coding my own business till my colleague suddenly poked me on the shoulder. He said that he had a crash in his code but couldn’t figure out where. I looked at his screen and checked his code but everything seemed alright to me. So I continued my...

Firebase and Dexguard

When migrating from GCM to FCM I discovered that the application crashes when I made a build with dexguard on. I got a cup of tea and sat down for this one. First I wanted to know what the exception was, therefore I made an debug build with the...

Android API – Log.wtf()?

We all know there are some methods and/or values in the Android API that sound funny and seem to have no purpose. Lets deep dive into a single method and find out its history. For this blog we will have a look at the method: Log.wtf() This method is...