AndroidUtils icon indicating copy to clipboard operation
AndroidUtils copied to clipboard

Little helpers for Android development.

AndroidUtils

Some helper code for Android app development.

  • AndroidUtils helper methods to
    • check for Android version (like AndroidUtils.isLollipopOrHigher()),
    • an active or unmetered network connection,
    • external storage state availability.
  • CheatSheet (original version by Roman Nurik) to display info toasts for any view (similar to action items) on long press or pointer hover.
    • Note: this is now just a wrapper for TooltipCompat from AndroidX appcompat, for new code it should probably be used directly.
  • GenericSimpleLoader offers a basic AsyncTaskLoader implementation to load simple objects or a list of objects.

Usage

This library is available on Maven Central.

implementation("com.uwetrottmann.androidutils:androidutils:3.0.0")

License

This work by Uwe Trottmann is licensed under the Apache License 2.0.

Contributors and changes are tracked by Git.

Do not just copy, make it better.