Zenith

General

Category
Free
Tag
Utils
License
Apache License, Version 2.0
Min SDK
17 (Android 4.2 Jelly Bean)
Registered
Jul 5, 2018
Favorites
0
Link
https://github.com/mikekpl/zenith
See also
Arrow
Yadi
AmniXtension
Okio
UtilsPlus

Additional

Language
Kotlin
Version
1.0.1 (May 8, 2018)
Created
May 7, 2018
Updated
Apr 2, 2019 (Retired)
Owner
Mike Lau (mikekpl)
Contributor
Mike Lau (mikekpl)
1
Activity
Badge
Generate
Download
Source code

Zenith

All in one utility tool for Android. If you find anything we can add / improve, feel free to do a pull request :)

A library for Android written in Kotlin for ready made helpers and make development easier. It covers some support, from widgets to raw utility classes. If there are things we can improve or add to the library, feel free, just let me know.

Getting Started

Make sure to have Android Studio

Gradle

repositories {
    maven { url "https://jitpack.io" }
}

Older Versions

This is now deprecated and will be the last support of Zenith for android.support era.

implementation 'com.github.mike14u:zenith:1.1.6'

New Versions

This supports AndroidX and will most likely be the one to be updated moving forward.

implementation 'com.github.mike14u:zenith:2.0.9'

Usage

This library mostly contains utility examples, below are 2 Class examples:

CheckNetwork

CheckNetwork.isInternetAvailable(...)

DebugLog

DebugLog.showException(context, class, throwable) // Shows Throwable / Exception with context and class details
DebugLog.showError(context, string) // Shows Log in error form (RED) so we can determine it easily
DebugLog.printStackTrace(exception) // Shows error message of exception
DebugLog.justPrint("message") // Shows a log in error format

For more examples and usage, please refer to the Wiki.

Contributing

  1. Fork it (https://github.com/mike14u/zenith/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

License

Copyright 2018 Mike Lau

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.