All Projects → novoda → Notils

novoda / Notils

Licence: other
Never again need a .utils. package yur scurvy sea dogs!

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Notils

Rxpresso
Easy Espresso UI testing for Android applications using RxJava.
Stars: ✭ 373 (+196.03%)
Mutual labels:  novoda, open-source
Merlin
Observes network connection status & gives callbacks
Stars: ✭ 536 (+325.4%)
Mutual labels:  novoda, open-source
Gradle Static Analysis Plugin
Easy setup of static analysis tools for Android and Java projects.
Stars: ✭ 398 (+215.87%)
Mutual labels:  novoda, open-source
No Player
Simplified Player wrapper for MediaPlayer and ExoPlayer
Stars: ✭ 182 (+44.44%)
Mutual labels:  novoda, open-source
Novoda
Common things for all Novoda's open source projects
Stars: ✭ 37 (-70.63%)
Mutual labels:  novoda, open-source
Sqlite Provider
Extended SQLite functionality for Android
Stars: ✭ 312 (+147.62%)
Mutual labels:  novoda, open-source
Download Manager
A library that handles long-running downloads, handling the network interactions and retrying downloads automatically after failures
Stars: ✭ 482 (+282.54%)
Mutual labels:  novoda, open-source
Fakeit
The Kotlin fake data generator library!
Stars: ✭ 482 (+282.54%)
Mutual labels:  open-source, utility-library
Aosp.changelog.to
Generates a change log between different aosp tags. Based on the wonderful work of @alsutton
Stars: ✭ 12 (-90.48%)
Mutual labels:  novoda, open-source
Bonfire Firebase Sample
An app to discuss your favourite emojis. This is a sample app built with Firebase.
Stars: ✭ 564 (+347.62%)
Mutual labels:  novoda, open-source
Android Demos
Examples of Android applications
Stars: ✭ 1,963 (+1457.94%)
Mutual labels:  novoda, open-source
Ios Demos
Examples of ios applications http://www.novoda.com/blog
Stars: ✭ 85 (-32.54%)
Mutual labels:  novoda, open-source
Bintray Release
A helper for releasing from gradle up to bintray
Stars: ✭ 1,878 (+1390.48%)
Mutual labels:  novoda, open-source
Gradle Android Command Plugin
Handy commands for testing Android on CI
Stars: ✭ 349 (+176.98%)
Mutual labels:  novoda, open-source
Simple Chrome Custom Tabs
Easy integration of Chrome Custom Tabs into your project. Just connect it to your activity, and navigate to the external website styling your tab as you wish.
Stars: ✭ 131 (+3.97%)
Mutual labels:  novoda, open-source
Spikes
Where ideas & concepts are born & incubated
Stars: ✭ 540 (+328.57%)
Mutual labels:  novoda, open-source
Accessibilitools
UI tools to help make your Android app accessible.
Stars: ✭ 81 (-35.71%)
Mutual labels:  novoda, open-source
Gradle Build Properties Plugin
Keep your secrets secret. External build properties support for your Gradle scripts.
Stars: ✭ 110 (-12.7%)
Mutual labels:  novoda, open-source
Janitor
The fastest development system in the world.
Stars: ✭ 120 (-4.76%)
Mutual labels:  open-source
Awesome Charting
A curated list of the best charting and dataviz resources that developers may find useful, including the best JavaScript charting libraries
Stars: ✭ 1,706 (+1253.97%)
Mutual labels:  open-source

notils CI status Download from Bintray Apache 2.0 Licence

Never again need a .utils. package yur scurvy sea dogs!

Notils comes in two modules - notils-java contains classes that don't depend on anything from the Android SDK, while notils-android contains classes that do.

Description

notils contains a set of common classes that we use in our projects:

  • AndroidUtils, for showing the keyboard, checking running services, etc.
  • ClassCaster - to help with listeners between Activitys & Fragments
  • No need to cast when finding Fragments
  • No need to double type your types when creating collections
  • Simple Fade animations in & out done for you
  • Simple Log to give to give automatic details of where the Log executed
  • StrictMode Management - enable strict mode in one line
  • WebViews, allowing custom loading of different scenarios (raw assets, external urls)
  • ToastDisplayers for saner displaying of Toast notifications
  • SimpleDateFormatThreadSafe allowing you to use date formatting from multiple threads
  • DeveloperError - custom exceptions for explicit declaration / faster feedback when something goes wrong
  • SimpleTextWatcher - simple implementation of android.text.TextWatcher with stub implementations of each method
  • QueryUtils - easily create placeholders for ContentResolver operations selection
  • DeviceDetection - to detect whether the user has Amazon or Intel x86 devices.
  • AndroidVersion - to check the Android version in a nicer way.

Adding to your project

To start using this library, add these lines to the build.gradle of your project:

repositories {
    jcenter()
}

dependencies {
    compile 'com.novoda:notils-java:3.1.5'
    compile 'com.novoda:notils-android:3.1.5'
}

Simple usage

Here are a few examples.

  • Use the Views class to avoid casting your views over and over!
UserFragment userFragment = Fragments.findFragmentById(fragmentmanager, R.id.userFragment);
  • Use DeveloperError to let other devs know a problem in the code or prevent potential issues:
switch (menuOptionId) {
    case R.id.menu_take_picture:
        // Start the camera...
    break;
    case R.id.menu_from_gallery:
        // Open the gallery...
    break;
    default:
        throw new DeveloperError("Unhandled case in switch statement!");
}
  • Object-oriented Toasts!
Toaster toaster = new Toaster(context);
toaster.popToast("Good morning!"); // Short toast
toaster.popBurntToast("Good night!"); // Long toast
toaster.dropInBath(); // Cancells all active toasts this toaster created
  • Check the javadoc for more! The package structure allows you to easily see what's in each package.

Links

Here are a list of useful links:

  • We always welcome people to contribute new features or bug fixes, here is how
  • If you have a problem check the Issues Page first to see if we are working on it
  • For further usage or to delve more deeply checkout the Project Wiki
  • Looking for community help, browse the already asked Stack Overflow Questions or use the tag: support-notils when posting a new question
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].