Skip to content

A lightweight MVI framework for Android based on a simplified version of Badoo's MVICore library

License

Notifications You must be signed in to change notification settings

21Buttons/MVICore21

Repository files navigation

MVICore21

CircleCI License

Description

This library is based on MVICore library from Badoo. Its purpose is to create a lightweight framework to implement a MVI architecture in Android. Refer to MVICore documentation and this post to have a better insight on the usage of this framework.

Download

implementation 'com.21buttons:mvicore21:1.0.0'

Main differences with MVICore

  • No Reducer class: In MVICore21, the Effect class knows how to 'Reduce' itself, thus creating a new state
  • No work done when creating the feature: MVICore had a problem for us that was that just after creating an instance, it started the state machine. This made testing of the whole feature difficult
  • Based on Flowable instead of Observable

Limitations

  • No time travel debugger
  • No reactive component binding
  • No middleware

Diagram

Here's a diagram showing how MVICore21 (using the Feature class) interacts with your presenter and your view

mvicore21

About

A lightweight MVI framework for Android based on a simplified version of Badoo's MVICore library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages