https://github.com/kibotu/kotlinandroidextensions
https://github.com/kibotu/kotlinandroidextensions
android-library android-utils extensions kotlin-android kotlin-library
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kibotu/kotlinandroidextensions
- Owner: kibotu
- License: apache-2.0
- Created: 2018-01-28T14:06:37.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-28T10:00:14.000Z (almost 8 years ago)
- Last Synced: 2025-06-09T16:46:29.488Z (8 months ago)
- Topics: android-library, android-utils, extensions, kotlin-android, kotlin-library
- Language: Kotlin
- Size: 165 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.paypal.me/janrabe) [](https://about.me/janrabe)
# KotlinAndroidExtensions [](https://jitpack.io/#kibotu/KotlinAndroidExtensions) [](https://jitpack.io/com/github/kibotu/KotlinAndroidExtensions/master-SNAPSHOT/javadoc/index.html) [](https://travis-ci.org/kibotu/KotlinAndroidExtensions) [](https://android-arsenal.com/api?level=15) [](https://docs.gradle.org/current/release-notes) [](https://kotlinlang.org/) [](https://raw.githubusercontent.com/kibotu/KotlinAndroidExtensions/master/LICENSE)
## Introduction
## How to install
repositories {
maven {
url "https://jitpack.io"
}
}
dependencies {
implementation 'com.github.kibotu:KotlinAndroidExtensions:-SNAPSHOT'
}
## How to use
To avoid passing the context everywhere inside the app, we set a weak reference during app start.
1) Add ContextHelper to Application#onCreate
@Override
public void onCreate() {
super.onCreate();
ContextHelper.with(this);
}
@Override
public void onTerminate() {
super.onTerminate();
ContextHelper.onTerminate();
}
## How to build
graldew clean build
### CI
gradlew clean assembleRelease test javadoc
#### Build Requirements
- JDK8
- Android Build Tools 27.0.3
- Android SDK 27
## Contributors
- [Jan Rabe](jan.rabe@kibotu.net)
### License
Copyright 2018 Jan Rabe
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.