Sample App — Android Unidirectional Data Flow

Using LiveData in Coinverse

Image for post
Image for post
pc — Ned Scher, Waterfall at Yosemite National Park (2015)
Image for post
Image for post
pc — My Mom’s Kenya safari (1980s)

Brief UDF Overview

View Events, State, and Effects

LiveData

Loading, Content, Error Network Requests

View Event, State, and Effect — ContentSelected

Image for post
Image for post
ContentSelected view event

MediatorLiveData — PlayerLoad

Image for post
Image for post
PlayerLoad view event
Image for post
Image for post

A Better Solution With MediatorLiveData

I’m Adam Hurwitz, the creator of Coinverse. Download the app on Google Play, and follow me for more on Android engineering!

Image for post
Image for post

Creator of Coinverse - The 1st Crypto News Audiocast App @ bit.ly/play-coin

Get the Medium app