android-mvi-sample

Introduction: Example MVI implementation, based off of Google's architectural samples.
More: Author   ReportBugs   
Tags:

Example MVI implementation, based off of Google's architectural samples.

Description

This is a sample implementation of the Model View Intent pattern. Full Android examples for MVI are hard to find. It's a pattern that has seen wide adoption in the Javascript and .NET world. Target audience include, but not limited to:

  • Developers making the pivot from an imperative to declarative style of programming.
  • Developers looking for best-practices in functional or reactive programming on Android.

Here are some articles/examples explaining the core principles of MVI and unidirectional flow:

This project is now organized in stages, to allow folks to follow along.

Stack

  • Kotlin
  • RxJava 2
    • RxBindings
    • RxRelay (TBD?)
  • Toothpick DI

Application Components

  • TODO: Consider adding some extra features to app, to demonstrate more complex uses of RxJava2. (Task ordering, etc.)
  • TODO: Rx based State Machine example
  • TODO: ...
Support Me
Apps
About Me
Google+: Trinea trinea
GitHub: Trinea