Photo by Pietro De Grandi on Unsplash

Model View Intent (MVI) architecture is getting more and more attention in the Android developer community. In this article I will demonstrate how to create a simple framework using this pattern.

I will not be describing the idea behind the MVI pattern in detail. There are some great articles that can be found here, here and here. I will focus strictly on the source code of a framework.

The sample application with source code used in this article can be found here.
Code snippets are written in Kotlin.

Do I need a “custom” framework?

There are some libraries which can be used to build Android applications…


Photo by Caspar Rubin on Unsplash (image source)

This is part of a series of articles about the new APIs available
in Android 9.0:

  1. BiometricPrompt
  2. ImageDecoder and AnimatedImageDrawable
  3. PrecomputedText

The sample application with source code used in this article can be found here.
Code snippets are written in Kotlin.

How text is displayed

Every Android developer knows that in order to display text in an application we need to use the TextView widget. It is as simple as that:

textView.text = "Hello"// ortextView.setText(R.string.hello_string)

But not every developer is aware of how complex and time consuming this process is.

Drawing text in an Android application can be divided into parts:

  1. Identifying…


Photo by Lastly Creative on Unsplash (image source)

This is part of a series of articles about the new APIs available
in Android 9.0:

  1. BiometricPrompt
  2. ImageDecoder and AnimatedImageDrawable
  3. PrecomputedText

The sample application with source code used in this article can be found here.
Code snippets are written in Kotlin.

Android P new image API

Images are a very important part of every mobile application. However, handling them from the Android developer’s perspective is not an easy task. They can come from different sources (assets, files, web, …) and they can have different formats (jpg, png, …). …


https://unsplash.com/photos/NHSnBQyE7RE

This is part of a series of articles about the new APIs available
in Android 9.0:

  1. BiometricPrompt
  2. ImageDecoder and AnimatedImageDrawable
  3. PrecomputedText

The sample application with source code used in this article can be found here.
Code snippets are written in Kotlin.

Fingerprint scanning

Using a fingerprint to unlock a phone or authenticate transactions in mobile applications is becoming more popular. It can be performed faster in comparison to using a password, pin or pattern and it still provides a similar level of security. …

Mariusz Dąbrowski

Android Team Lead @vooom — Warsaw, Poland

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store