https://github.com/eadm/androidkit
Set of base libraries for Android development
https://github.com/eadm/androidkit
android kotlin
Last synced: 10 months ago
JSON representation
Set of base libraries for Android development
- Host: GitHub
- URL: https://github.com/eadm/androidkit
- Owner: eadm
- Created: 2020-06-13T20:54:42.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-24T10:10:59.000Z (almost 2 years ago)
- Last Synced: 2024-08-24T11:27:11.254Z (almost 2 years ago)
- Topics: android, kotlin
- Language: Kotlin
- Homepage:
- Size: 299 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Android Kit
Android Kit is a framework for Android development
## Usage
Add the following to the root `build.gradle` file
```groovy
allprojects {
repositories {
maven {
url "https://maven.pkg.github.com/eadm/AndroidKit"
credentials {
username = System.getenv('GITHUB_USER') ?: project.properties['GITHUB_USER']
password = System.getenv('GITHUB_PERSONAL_ACCESS_TOKEN') ?: project.properties['GITHUB_PERSONAL_ACCESS_TOKEN']
}
}
}
}
```
Next, you need to [generate a GitHub Token](https://github.com/settings/tokens/new) with the `read:packages` permission and place it in the root `gradle.properties` file (usually located in `~/.gradle/gradle.properties`).
```
GITHUB_USER=YOUR_GITHUB_USER_NAME
GITHUB_PERSONAL_ACCESS_TOKEN=YOUR_GITHUB_ACCESS_TOKEN
```
# Artifacts
### Model
A set of basic classes and extensions for models


```groovy
dependencies {
implementation("ru.nobird.app.core:model:1.0.8")
}
```
### domain-rx
Extensions for working with RxJava

```groovy
dependencies {
implementation 'ru.nobird.android.domain:rx:x.y.z'
}
```
## Presentation
### presentation-base
Base for the presentation layer

```groovy
dependencies {
implementation 'ru.nobird.android.presentation:base:1.1.0'
}
```
### presentation-redux
Base for the presentation-redux layer, an alternative to `presentation-base`


```groovy
dependencies {
implementation("ru.nobird.app.presentation:presentation-redux:1.3.1")
}
```
### presentation-redux-coroutines
Extensions for the presentation-redux architecture with coroutines


```groovy
dependencies {
implementation("ru.nobird.app.presentation:presentation-redux-coroutines:1.3.1")
}
```
### presentation-redux-rx
Extensions for the presentation-redux architecture with RxJava 2


```groovy
dependencies {
implementation("ru.nobird.android.presentation:redux-rx:1.3.0")
}
```
## View
### AdapterDelegates
Delegates for list adapters


```groovy
dependencies {
implementation 'ru.nobird.android.ui:adapter-delegates:1.1.1'
}
```
### Adapters
Extensions for RecycleView adapters, including automatic updates via diff callback and selection handling


```groovy
dependencies {
implementation 'ru.nobird.android.ui:adapters:1.1.1'
}
```
### view-injection
Extensions for Dependency Injection


```groovy
dependencies {
implementation("ru.nobird.android.view:injection:1.1.0")
}
```
### view-navigation
Extensions for navigation via [Cicerone](https://github.com/terrakok/Cicerone)

```groovy
dependencies {
implementation 'ru.nobird.android.view:navigation:1.1.0'
}
```
### view-ui
A set of UI extensions


```groovy
dependencies {
implementation 'ru.nobird.android.view:ui:1.1.0'
}
```
### view-redux
UI extensions for the redux architecture


```groovy
dependencies {
implementation("ru.nobird.android.view:redux:1.3.0")
}
```