android

android

Android Data Binding Part 2: Observer pattern to the bone

In the previous part I’ve described typical problems we have to face when developing applications on Android. I’ve also highlighted that some of them may be mitigated when data binding API is utilized properly. It’s time to dive into more details of how this promising API works. Observer Pattern At the root of many of…

Read
android

Android Data Binding Part 1: Why it is important

Android application code often suffers from being more verbose than it could be. As libraries such as Android Annotations and ButterKnife have shown that’s only partially due to tediousness of Java. The recently announced Android Data Binding library can remove at least part of the boilerplate code we need to write…

Read
android

Handling different user types in android application

In the previous post you can read how to use object to maintain current user information through the application lifecycle. Now we’ll explore different options of implementing varying behavior depending on user type. When an app has only one user type I find it neat when an application allows me to use it before I’m…

Read