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...

The mathematics of weight loss

I was browsing through Youtube until I saw this video about weight loss. I started the video thinking my attention will be gone within seconds and I would click a new video but after some mins I found it rather interesting!...

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...

Dinner vs Supper

So today yet another discussion at work which almost ended in hair pulling and something I’m not comfortable sharing.. It all began when eating lunch.. or dinner.. or supper.. do you see where I’m going for here? The question was when do you call a meal “dinner”, “lunch”, “breakfast”...

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...

Indian Curd

So it came to my attention that Indians have a whole different meaning for the word Curd. An Indian friend called my curd that I had for lunch “yogurt”. I was confused and corrected his awful mistake. Now he was confused and didn’t know that there even was a...

Thailand’s Anthem Freeze

I have seen so many unusual things during my trip in Thailand. One of them was the way how Thais behave when the national anthem is played. Apparently in Thailand, you will hear the Thai national anthem played every day at 8am and 6pm. Every TV and radio station...