Skip to content

Latest commit

 

History

History
105 lines (65 loc) · 4.9 KB

README_EN.md

File metadata and controls

105 lines (65 loc) · 4.9 KB

MVI-Rhine

English Documentation | 中文文档

Summary

The MVI architecture using RxJava2 and Android Jetpack.

This repo is based on an Android ported version of the Model-View-Intent architecture and uses RxJava2 to implement the reactive caracteristic of the architecture.

The MVI architecture embraces reactive and functional programming. The two main components of this architecture, the View and the ViewModel can be seen as functions, taking an input and emiting outputs to each other. The View takes input from the ViewModel and emit back intents. The ViewModel takes input from the View and emit back view states. This means the View has only one entry point to forward data to the ViewModel and vice-versa, the ViewModel only has one way to pass information to the View.

ScreenShots

Libraries

Android Jetpack

Http

DI

ReactiveX

Others

How to study MVI

Thanks to

🎨 The UI design of this project refers to gitme.

⭐ This repo is inspired by oldergod/android-architecture and uses some of its source code.

License

The MVI-Rhine: Apache License

Copyright (c) 2019 qingmei2

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.