Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.46 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.46 KB

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