文件名称:Android代码-Rxjava2 做状态管理实现的redux库
文件大小:240KB
文件格式:ZIP
更新时间:2022-08-25 21:29:30
Android代码
RxRedux A library that manages state using RxJava 2 and Architecture Components. Medium Post: https://goo.gl/7oH1B1 Getting Started Project root build.gradle allprojects { repositories { maven { url 'https://jitpack.io' } google() } } Module build.gradle dependencies { implementation 'com.github.Zeyad-37:RxRedux:2.x.x' } Step1 ViewModels must extend BaseViewModel. S is your UIModel. There are two abstract methods that you will need to implement. First, an stateReducer