-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Kompot is a framework for building android apps. It gives you a project setup with unidirectional data flow, navigation and multi-module support from the box, letting you concentrate on what's most important - building apps that users love.
With Kompot, you don't need to bother about the right way of calling fragment transactions or building tons of intents for Activities. You call your screens directly by giving them the desired input in the constructors, and the framework will do the job of bringing your UI to the user's attention
Kompot is hosted on mavenCentral
. In order to fetch the dependency, add the following lines to your project level build.gradle
:
allprojects {
repositories {
mavenCentral()
jcenter()
}
}
Jcenter will be removed in the stable version
And then to the module level build.gradle
:
dependencies {
implementation 'com.revolut.kompot:kompot:0.0.2'
kapt 'com.google.dagger:dagger-compiler:2.40.2'
//test dependencies
testImplementation 'com.revolut.kompot:core-test:0.0.2'
testImplementation 'com.revolut.kompot:coroutines-test:0.0.2'
}
Kompot has pre-built tools to work with DI and requires Dagger 2 to be present in your module.
Start building your experience with the framework using Build your first screen guide