Date Archives

September 2017

Android LiveData & ViewModel

If you missed it, there were some awesome announcements about Android at Google I/O 2017. Say hello to Android Architecture Components. Architecture Components. A new collection of libraries that help you design robust, testable, and maintainable apps. Two main pain points addressed by Architecture Components are: Help manage UI components lifecycle. Persistent data during configuration changes….

Read More

Android Architecture Components Part 2 – Dependency Injection

As promised, part two is here. ? Before we get our hands dirty, let’s do a quick recap. In the previous post, we created a simple app that displays a list of user names using Android architecture components library. We divided our app into the following layers for better code responsibility and separation of concerns: View/UI layer ViewModel layer This…

Read More