All posts by

Frode Nilsen

expand_more

Data Binding with Android Architecture Components Preview

In the talk Architecture Components – Solving the Lifecycle Problem from Google I/O 2017, Yigit Boyar talked about the new LiveData<T> class of the Architecture Components library. When talking about it it’s always coupled with the concept of the ViewModel. I’ve long been a fan of the MVVM pattern when

Async patterns on Android: Kotlin with coroutines

9 months ago I wrote about asynchronous programming patters in different languages covering C#, Javascript and Java. Lately I’ve been digging into Kotlin and specifically the Coroutines implementation in their 1.1 beta. This finally brings the async/await-pattern to Android – a pattern I grew learned to love when it was

Two-way data binding without RxJava

A computer on a desk

A couple of weeks ago, this article by Radosław Piekarz got some traction on /r/androiddev. While I am a fan of RxJava myself we use it extensively in our apps at VG.no, I feel this example was not the best use case for it. As others point out in the comment field, this

Javazone 2016 – more than just Java

Blog post header

This is the second year I’m attending Javazone in Oslo – a large IT-conference of the highest international standard, by and for the Java community. Although the Java technology is at the core, the topics range from front-end to back-end and infrastructure, security, architecture, patterns and processes. In short, you

Async programming patterns in different languages

Blog post header

During the 10 years I’ve been into professional programming, the largest paradigm shift I’ve witnessed is the one from sequential to asynchronous programming. Not that it is a new concept – asynchronousity has been has been present in programming since the dawn of time, but what’s new is the tight

Android Databinding: Goodbye Presenter, hello ViewModel!

Blog post header

The Model-View-Presenter-pattern (MVP) has been the dominating trend lately when it comes the UI-layer architecture of Android applications. Frameworks like Ted Mosby, Nucleus and Mortar have all talked about Presenters to help you achieving a clean architecture of your app. They also (to a varying degree) help you with the

Don’t forget the View Model!

Blog post header

Background I’ve observed an increase in architecture-focused Android posts lately in channels such as /r/androiddev and Android Weekly. That’s great, but frankly it’s about time. When I transitioned from Windows Phone development to Android a couple of years ago I felt it was difficult to find good examples on how to

Javazone 2014 day 1 report

Blog post header

Keyword of the day: Variety So this is my first time at Javazone. I had high expectations from everything I’ve heard about it, but I did not expect death metal for the opening show at 08:45 https://www.youtube.com/watch?v=qifObSLGHW0