Lightning Kite's project to make Android even more awesome for speedy development
This project contains a number of small, minimalist libraries for improving and speeding up Android development.
All of them use a combination of Android and Kotlin, and possibly other languages.
Each piece of the library is built to be read - in other words, you should be able to look at the source of anything in it and understand it pretty much immediately. If not, please make a GitHub issue for it so that it can be better written or at least better documented.
WARNING: While these projects are kept up to date because they are actively used in published projects, the documentation on these packages is still being worked on. Please add GitHub issues about spots that need more.
This includes the following packages:
- mighty-view - My favorite package, personally. While it, of itself, contains only four extension functions, it represents an entirely new, clean way of making Android apps. It has dependencies on several other packages in this library.
- activity-access - Defines and implements an interface for accessing the activity lifecycle more easily.
- animations - Various animation tools
- animations-observable - Various animation tools that use observables
- design-extensions - Various extensions for using the 'design' elements from the compat libraries.
- dialogs - Uses
activity-access
to show very sturdy dialogs. - extensions - Various Kotlin extensions to make Android more usable.
- image-loading - Various stuff for loading images.
- image-loading-observable - Various stuff for loading images using observables.
- lifecycle - Exposes the view's lifecycle using observables.
- observable - Various Android things that can be done with observables.
- observable-validation - A system for validating forms using observables.
- ui-thread - Exposes a [Executor] that represents the UI thread.
- anko-adapters - Tools for building adapters in Anko.
- anko-adapters-observable - Tools for building adapters in Anko combined with observables.
- anko-animations - More animation tools, specifically for Anko.
- anko-animations-observable - Same as above with additional things for observables.
- anko-extensions - Various extensions to Anko.
Add the repository:
repositories {
maven {
url "https://dl.bintray.com/lightningkite/com.lightningkite.kotlin"
url "https://dl.bintray.com/lightningkite/com.lightningkite.kotlin.android"
}
}
Include the desired libraries:
dependencies {
implementation "com.lightningkite.kotlin.android:activity-access:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:animations:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:animations-observable:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:design-extensions:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:dialogs:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:extensions:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:image-loading:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:image-loading-observable:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:lifecycle:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:observable:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:observable-validation:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:ui-thread:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:mighty-view:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:anko-adapters-observable:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:anko-adapters:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:anko-animations-observable:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:anko-animations:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin.android:anko-extensions:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin:utils:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin:jackson:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin:okhttp:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin:okhttp-jackson:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin:observable-property:${rootProject.libraryKotlinVersion}"
implementation "com.lightningkite.kotlin:observable-list:${rootProject.libraryKotlinVersion}"
}
- Get better code coverage on the observable lists