项目作者: atoka93

项目描述 :
Object-oriented Redux implementation in Kotlin, highly compatible with Android.
高级语言: Kotlin
项目地址: git://github.com/atoka93/redux-kotlin.git
创建时间: 2018-03-16T14:22:08Z
项目社区:https://github.com/atoka93/redux-kotlin

开源协议:Apache License 2.0

下载


redux-kotlin

Download
Build Status

Object-oriented Redux implementation in Kotlin.

  • redux-kotlin is the base module, this is a pure Kotlin module that contains the basic functionality of Redux.
  • redux-kotlin-base-implementation contains basic implementations of a store and a asynchronous version of the store. Since the
    Kotlin Coroutines are still experimental I used java classes for the implementation. It includes the base module.
  • redux-kotlin-android-extensions contains useful extensions for Android. This module includes the previous module.
  • redux-kotlin-rx-extensions contains extensions to enable RxJava2 usage. This module does not include but requires the base module.

Example

A sample Android application showcasing an architecture combining Redux and the Clean Architecture principles using these libraries can be found here.

Download

The libraries are available on jcenter via Maven, Gradle or Ivy.



Gradle:

  1. dependencies {
  2. implementation 'net.attilaszabo.redux:redux-kotlin:{latest_version}'
  3. implementation 'net.attilaszabo.redux:redux-kotlin-implementation:{latest_version}'
  4. implementation 'net.attilaszabo.redux:redux-kotlin-android-extensions:{latest_version}'
  5. implementation 'net.attilaszabo.redux:redux-kotlin-rx-extensions:{latest_version}'
  6. }

License

Licensed under the Apache License, Version 2.0.