Skip to content

Releases: PGMacDesign/PGMacTips

Updating DB Utilities to support Newer Realm Versions

Choose a tag to compare

@PGMacDesign PGMacDesign released this 12 Mar 21:07

What's Changed

  • Finally able to get this to compile! by @Dwebtron in #7

New Contributors

Full Changelog: 1.5.2...1.6.0

FileUtils and FileMover

Choose a tag to compare

@PGMacDesign PGMacDesign released this 10 Aug 18:25

Version 1.5.2 (2021-08-10)

  • Update: Updates to the RecyclerArrayAdapter class to add more utility functions and better error handling for scenarios where a bad position or item is sent as a argument.
  • Update: Update in the FileUtilities class to allow for byte[] file writes. Also added in a FileDownloader Util
  • New: The FileMover class has been added and will copy files from one directory to another

New Utils, Bugfixes, & Live Data

Choose a tag to compare

@PGMacDesign PGMacDesign released this 05 Jul 05:19

Version 1.5.1 (2021-07-04)

  • New: New methods in the FileUtilities class for determining the Mimetype of a file
  • Bugfix: Fixed a bug that could cause a NPE if a PGAnimatedSvgView is set but not initialized properly.
  • New: Created a new package for live data utilities and 2 simple classes, AbsentLiveData and DynamicLiveData. These 2 classes are used to return an object with either null or the passed object so it can be returned along a LiveData approach.
  • New: Added in a utilities class ObjectGsonParceler that provides Gson-wrapper functionality to the Android Parceler class.
  • New: Added a new method to the AppLockdownUtils class for determining if the app is locked down / a device admin.
  • Update: Updated the RecyclerArrayAdapter class to change the default constructor to public.

Stackmanager Updates

Choose a tag to compare

@PGMacDesign PGMacDesign released this 25 Feb 21:20

Version 1.4.8 (2021-02-25)

  • Update: Added a new method in the [StackManager] class to allow to remove 1 or more stack items without using the pop functionality.
  • New: New methods in the MiscUtilities class for determining if the device running is an emulator or not.
  • New: New Class, RecyclerArrayAdapter, to allow for a simple listview approach to a Recyclerview with a wrapper with generics for access.

ImageUtilities Updates

Choose a tag to compare

@PGMacDesign PGMacDesign released this 02 Jan 08:09
  • New: New Overloaded methods in the ImageUtilities to allow for setting images with Android Uris instead of only Strings.

Date, String, & Color Utilities Updates

Choose a tag to compare

@PGMacDesign PGMacDesign released this 22 Dec 19:31

Version 1.4.5 (2020-12-22)

  • New: New methods in the StringUtilities class to work with Spannable Strings which are useful in highlighting text.
  • New: Added in a new method for alpha augmentation in the ColorUtilities class.
  • New: Added in a new method into the DateUtilities that is used for a shorter date String calculation on the how long ago method.

Animation and Image Utility Updates

Choose a tag to compare

@PGMacDesign PGMacDesign released this 08 Dec 18:18
  • Update: Updated some of the methods in the GUIUtilities to allow for dismissing a keyboard and not just showing it. Also added in an overloaded hideKeyboard method using context + a View.
  • New: New methods in the ImageUtilities to allow for setting the Image View Color using tint logic. Also added in a method to determine if a passed color argument is a valid resource.
  • New: New overloaded methods in the AnimationUtilities to allow users to pass a callback listener whenever the animation completes.

StackRawManager Release

Choose a tag to compare

@PGMacDesign PGMacDesign released this 22 Sep 16:03
  • Update: Updated and renamed the StackRawManager (Formally StackStringsManager) so that it can use all raw types. It now supports Strings, Longs, Integers, and Doubles.

Threads, Images, UI, and Misc Updates

Choose a tag to compare

@PGMacDesign PGMacDesign released this 16 Sep 23:07
  • New: New methods in the MiscUtilities class to get the size of lists / maps via a safe null check.
  • New: New methods in the ImageUtilities and FileUtilities classes to be used in conjunction with downloading images from the internet and converting them to a byte array. Also added image rotation methods for simple animation changes.
  • New: New methods in the NetworkingUtilities class that allows a really simple builder of an OkHttp3 Client for use in various web-related calls or in the above Image Downloading logic.
  • New: New method in the TextField Utilities class to allow for setting a TextView to have copy / paste functionality (IE, to be able to select and copy from it)
  • New: New class, AppThreadPool. This class is designed to perform operations on either background or foreground threads depending on the end goal. All items from the ThreadUtilities have been moved to this new class as well.

Various Enhancements

Choose a tag to compare

@PGMacDesign PGMacDesign released this 04 Sep 20:57
  • New: The L class will now allow Exceptions / Throwables to be passed in via the L.e() method. This will print the stacktrace instead of casting into a String and printing. The L.m() method has also been altered to check the type of this object and if it is an instance of a Throwable it will pass it to this new method.
  • Update: Updated the DisplayManagerUtilities print out method to also return the String being printed out for use in debugging / debug emails.
  • New: New methods in the ColorUtilities class that allows for a quick building of ColorStateList(s).
  • New: Adding in new methods to the ImageUtilities class for setting different image transformations. Also added in a new custom dependency for the Picasso Image Transformations.