A predictable state management library witch helps implement the BLoC design pattern with Kotlin.
The goal of this library is to make it easy to separate presentation from business logic. It uses all the power of coroutines.
The libraries are published to JCenter repository.
Add dependencies (you can also add other modules that you need):
<dependency>
<groupId>org.dglynskyi</groupId>
<artifactId>bloc</artifactId>
<version>0.0.1</version>
</dependency>
And make sure that you use the latest Kotlin version:
<properties>
<kotlin.version>1.3.61</kotlin.version>
</properties>
Add dependencies (you can also add other modules that you need):
dependencies {
implementation 'org.glynskyi.bloc:0.0.1'
}
And make sure that you use the latest Kotlin version:
buildscript {
ext.kotlin_version = '1.3.61'
}
Make sure that you have either jcenter()
or mavenCentral()
in the list of repositories:
repository {
jcenter()
}