/kommon

Android utility and useful functions in Kotlin

Primary LanguageKotlinApache License 2.0Apache-2.0

CircleCI

Kommon

Set of utilities and helpers functions for Android in form of Kotlin extension function or top level function. Grab only what you need 👌

Gradle

In your root build.gradle

allprojects {
    repositories {
	    ...
	    maven { url 'https://jitpack.io' }
	}
}

In your module build.gradle

dependencies {
    final kommonVersion = 'x.y.z'
    implementation "com.github.esafirm.kommon:kommon:$kommonVersion"
    implementation "com.github.esafirm.kommon:kommonviews:$kommonVersion"
    implementation "com.github.esafirm.kommon:kommoncompoundview:$kommonVersion"
    implementation "com.github.esafirm.kommon:kommonadapter$;kommonVersion"
}

Where x.y.z is the version of Kommon.

Versions can be seen in Release Page

Usage

For now, the only usage example is exist in the sample app.

Readme

Module specific read me files:

TODO

  • Add TEST!!
  • Depends on android KTX?
  • Add RecylcerView module DONE
  • Get what usable and useful from the old repo DON'T DO THIS

License

Apache 2.0