/reactive-mvvm-android

Reactive MVVM with Flows - Showcase Android app 📱

Primary LanguageKotlin

Reactive MVVM with Flows 📱

A showcase app to demonstrate how a reactive MVVM approach using Flows could look in Android.

Android development

This MVVM implementation orchestrates the whole app functionality through the next Flows:

  • State = StateFlow
  • Events = Channel
  • Actions = Not using flows anymore. However, if needed, a SharedFlow could be used for this use case.

The app follows a Unidirectional Data Flow pattern (UDF) like MVI but leaves out complexities such as reducers or processors.

MVVM UDF

The app - Your Daily Quote 💬

The app is a simple random Quote generator with the ability to share the generated Quote.

Your Daily Quote app

Third party data

The quotes used throughout the app have been picked from the open source project Quotable.