https://github.com/nisrulz/android-utils
[Android Library] Facilitating some very common functionalities in the form of utility classes for Android
https://github.com/nisrulz/android-utils
android androidutils utilities
Last synced: 5 months ago
JSON representation
[Android Library] Facilitating some very common functionalities in the form of utility classes for Android
- Host: GitHub
- URL: https://github.com/nisrulz/android-utils
- Owner: nisrulz
- License: apache-2.0
- Created: 2016-03-28T13:40:14.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-06-13T22:37:16.000Z (almost 5 years ago)
- Last Synced: 2024-12-10T23:50:14.985Z (5 months ago)
- Topics: android, androidutils, utilities
- Language: Java
- Homepage:
- Size: 678 KB
- Stars: 145
- Watchers: 12
- Forks: 47
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
Android-Utils
![]()
Android Library facilitating some very common functionalities in the form of utility classes for Android
# Including in your project
Android-Utils is available in the Jcenter, so getting it as simple as adding it as a dependency
```gradle
// Required dependencies
implementation 'androidx.annotation:annotation:1.1.0'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.squareup.okhttp3:okhttp:4.4.0'
implementation 'com.squareup.okhttp3:logging-interceptor:4.4.0'// android-utils
implementation 'com.github.nisrulz:android-utils:{latest version}'
```
where `{latest version}` corresponds to published version in [  ](https://bintray.com/nisrulz/maven/com.github.nisrulz%3Aandroid-utils-ktx/_latestVersion)---
Android-Utils-Ktx is available in the Jcenter, so getting it as simple as adding it as a dependency
```gradle
// Required dependencies
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.61'
implementation 'androidx.annotation:annotation:1.1.0'
implementation 'androidx.core:core:1.1.0'
implementation 'com.google.android.material:material:1.1.0'
implementation 'androidx.fragment:fragment-ktx:1.2.1'// android-utils-ktx
implementation 'com.github.nisrulz:android-utils-ktx:{latest version}'
```where `{latest version}` corresponds to published version in [  ](https://bintray.com/nisrulz/maven/com.github.nisrulz%3Aandroid-utils/_latestVersion)
### Utils
- [activity](/android-utils/src/main/java/github/nisrulz/androidutils/activity/ActivityUtils.java)
- [audio](/android-utils/src/main/java/github/nisrulz/androidutils/audio/AudioUtils.java)
- [battery](/android-utils/src/main/java/github/nisrulz/androidutils/battery/BatteryUtils.java)
- [broadcastreceiver](/android-utils/src/main/java/github/nisrulz/androidutils/broadcastreceiver/BroadcastReceiverUtils.java)
- [convert](/android-utils/src/main/java/github/nisrulz/androidutils/convert/ConvertUtils.java)
- [crypto](/android-utils/src/main/java/github/nisrulz/androidutils/crypto)
- [fileio](/android-utils/src/main/java/github/nisrulz/androidutils/fileio/FileIOUtil.java)
- [fragments](/android-utils/src/main/java/github/nisrulz/androidutils/fragments)
- [json](/android-utils/src/main/java/github/nisrulz/androidutils/json/JSONUtils.java)
- [misc](/android-utils/src/main/java/github/nisrulz/androidutils/misc/MiscUtils.java)
- [network](/android-utils/src/main/java/github/nisrulz/androidutils/network)
- [rateapp](/android-utils/src/main/java/github/nisrulz/androidutils/rateapp/RateMyApp.java)
- [service](/android-utils/src/main/java/github/nisrulz/androidutils/service/ServiceUtils.java)
- [sharedpreferences](/android-utils/src/main/java/github/nisrulz/androidutils/sharedpreferences/SharedPrefUtils.java)
- [string](/android-utils/src/main/java/github/nisrulz/androidutils/string/StringUtils.java)
- [view](/android-utils/src/main/java/github/nisrulz/androidutils/view/ViewUtil.java)
- [wakelock](/android-utils/src/main/java/github/nisrulz/androidutils/wakelock/WakeLockUtils.java)
- [webview](/android-utils/src/main/java/github/nisrulz/androidutils/webview/WebViewUtils.java)# Pull Requests
I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:
1. Match coding style (braces, spacing, etc.) This is best achieved using CMD+Option+L (Reformat code) on Mac (not sure for Windows) with Android Studio defaults. This project uses a [modified version of Grandcentrix's code style](https://github.com/nisrulz/AndroidCodeStyle/tree/nishant-config), so please use the same when editing this project.
2. If its a feature, bugfix, or anything please only change code to what you specify.
3. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
4. Pull requests _must_ be made against `develop` branch. Any other branch (unless specified by the maintainers) will get rejected.
5. Check for existing [issues](https://github.com/nisrulz/android-utils/issues) first, before filing an issue.
6. Have fun!## License
Licensed under the Apache License, Version 2.0, [click here for the full license](/LICENSE.txt).
## Author & support
This project was created by [Nishant Srivastava](https://github.com/nisrulz/nisrulz.github.io#nishant-srivastava) but hopefully developed and maintained by many others. See the [the list of contributors here](https://github.com/nisrulz/android-utils/graphs/contributors).
If you appreciate my work, consider [buying me](https://www.paypal.me/nisrulz/5usd) a cup of :coffee: to keep me recharged :metal: [[PayPal](https://www.paypal.me/nisrulz/5usd)]
![]()