-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Birju Vachhani edited this page Sep 26, 2019
·
13 revisions
A kotlin extensions library which makes it very easy to write short and clean code and saves a developer's life from being miserable.
Please note that the library is still under development. More extensions will be added soon.
Contains all the extensions related to Android standard packages including AndroidX AppCompat
- Add the JitPack repository to your project's build.gradle file
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Add the dependency in your app's build.gradle file
dependencies {
implementation "com.github.BirjuVachhani.bext:bext-core:2.1.0"
}
Here are the available Class Extensions:
- Activity Extensions
- AlertDialog Extensions
- Context Extensions
- EditText Extensions
- Fragment Extensions
- Generic Extensions
- Handler Extensions
- Log Extensions
- SharedPreferences Extensions
- Toast Extensions
- View Extensions
- ViewPager Extensions
Contains all the extensions related to Android Architecture components
- Add the JitPack repository to your project's build.gradle file
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Add the dependency in your app's build.gradle file
dependencies {
implementation "com.github.BirjuVachhani.bext:bext-arch:2.1.0"
}
Here are the available Class Extensions:
Contains all the extensions related to common android libraries
- Add the JitPack repository to your project's build.gradle file
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Add the dependency in your app's build.gradle file
dependencies {
implementation "com.github.BirjuVachhani.bext:bext-common:2.1.0"
}
Here are the available Class Extensions:
This dependency packs all the available module extensions in one module.
- Add the JitPack repository to your project's build.gradle file
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Add the dependency in your app's build.gradle file
dependencies {
implementation "com.github.BirjuVachhani.bext:bext-all:2.1.0"
}
Copyright 2019 BirjuVachhani
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.
Here are the available Class Extensions: