glynskyi / bloc

A predictable state management library witch helps implement the BLoC design pattern with Kotlin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bloc

A predictable state management library witch helps implement the BLoC design pattern with Kotlin.

Overview

Bloc Architecture

The goal of this library is to make it easy to separate presentation from business logic. It uses all the power of coroutines.

Using in your projects

The libraries are published to JCenter repository.

Maven

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>

Gradle

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()
}

About

A predictable state management library witch helps implement the BLoC design pattern with Kotlin.


Languages

Language:Kotlin 100.0%