Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.
/ zenith Public archive

🌟 [Deprecated] Simple utility tools for Android Development

License

Notifications You must be signed in to change notification settings

mikekpl/zenith

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zenith

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

Android Arsenal Android Arsenal Android Arsenal

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.