Category: Android

KotlinConf 2019 – Top 5 talks

I’m back from visiting Kopenhagen, Denmark with a lot of new insights about Kotlin. KotlinConf was hosted in Bella Center, Kopenhagen on 4-6 December and it was all about Kotlin Native, Coroutines and Kotlin in back-end systems. I didn’t see all the talks during the conference of course but...

.gitignore not ignoring!

As a developer that took over a project there are some issues you never had before. One of them is this one. While coding for a new feature I wanted to commit my small task to github. One of the changes was .idea/workspace.xml. I thought… wait a min… this...

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