Photo: Merlene Goulet from Unsplash

Setup


Photo: Buzz Andersen from Unsplash

Lesson III: Unfinished coroutines during unit tests

kotlinx.coroutines.test.UncompletedCoroutinesError: Unfinished coroutines during teardown. Ensure all coroutines are completed or cancelled by your test.


Photo by Markus Spiske from Unsplash

Observing LiveData changes at scale


Photo: Robert Lukeman from Unsplash

Setup

Repository Layer
ViewModel Layer


Photo: amirali mirhashemian from Unsplash


Image by Hermann Traub from Pixabay



Motivation



TL;DR

Generics nullability

An example of UI flow for user profile

Chao Zhang

Android Developer@LinkedIn

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