Workout your tasks with WorkManager — Intro

Until now, in order to perform background work in Android, developers had to choose between multiple execution options. At Google I/O 2018, the Android team launched WorkManager as part of the Android Jetpack.

This library provides a simple and clean interface to specify deferrable, asynchronous tasks and when they should run. This blog post is the first in a new series on WorkManager. The series will include an overview about the Android memory model, existing background solutions, what’s happening behind the scenes and why and when we should use WorkManager.

WorkoutYourTasksWithWorkManager-Intro

Continue reading “Workout your tasks with WorkManager — Intro”

Android Room Persistence Library: Entity, Dao, Database

In February 2018 I was happy to be one of the speakers at MobOS in Cluj-Napoca. It was a nice experience, I received a lot of questions and I was impressed about the big number of the Android developers. My presentation was about Room so in this article I will cover a part of the concepts included in my slides.

android-room-componets.png

Continue reading “Android Room Persistence Library: Entity, Dao, Database”

Android Data Binding

Have you felt that you need “something” to bind the data directly to the layout without writing some extra code!? “findViewById” method is scaring you!? The solution for these issues it’s called “Android Data Binding”.

This library offers both flexibility and broad compatibility so you could use it starting with Android 2.1 (API level 7+) and it was presented at Google I/O 2015.

It can be used with gradle 1.5.0-alpha1 or higher.

android data binding (4).png

Continue reading “Android Data Binding”