Skip to content

Releases: Blankj/AndroidUtilCode

1.31.1

14 Oct 16:57
Compare
Choose a tag to compare

fix some bugs

1.30.0

24 Oct 19:49
Compare
Choose a tag to compare
  • 20/10/23 [fix] LanguageUtils crash on some device.
  • 20/10/21 [add] LogUtils.Config#setOnConsoleOutputListener, setOnFileOutputListener, addFileExtraHead. LogUtils.getCurrentLogFilePath.
  • 20/10/20 [opt] ToastUtils.
  • 20/10/12 [add] PermissionUtils#explain.
  • 20/10/10 [add] ClipboardUtils.
  • 20/10/08 [add] VolumeUtils.
  • 20/09/06 [add] DebouncingUtils#isValid.
  • 20/09/04 [fix] ToastUtils adapt SDK 30.

1.29.0

28 May 03:02
Compare
Choose a tag to compare

1.28.0

12 Apr 19:38
Compare
Choose a tag to compare
  • [add] NumberUtils.
  • [opt] TimeUtils#SDF_THREAD_LOCAL.
  • [add] SDCardUtils#getXxTotalSize, SDCardUtils#getXxAvailableSize. FileUtils#getFsTotalSize, FileUtils#getFsAvailableSize.
  • [fix]1.27.x BUG

1.27.0

01 Apr 08:48
Compare
Choose a tag to compare
  • [fix] PermissionUtils theme's bug
  • [add] BatteryUtils in subutil.
  • [add] publish.gradle.
  • [add] UtilsBridge to clean the utils.
  • [upd] Leak Canary to v2.1.
  • [upd] GsonUtils support custom gson.
  • [add] ActivityUtils#addActivityLifecycleCallbacks, ActivityUtils#removeActivityLifecycleCallbacks.
  • [add] ClickUtils#expandClickArea, ClickUtils#back2HomeFriendly

API Change List:

  • PermissionUtils.OnRationaleListener#rationale(ShouldRequest) -> PermissionUtils.OnRationaleListener#rationale(UtilsTransActivity, ShouldRequest)
  • Utils.Callback<T> -> Utils.Consumer<T>
  • Utils.Func1<Void, Param> -> Utils.Consumer<T>

1.26.0

27 Nov 17:17
Compare
Choose a tag to compare

v1.26.0

  • [add] Shadow demo.
  • [add] MVP demo.
  • [fix] Adapt the project for Gradle version of 6.0.
  • [add] Publish bus plugin v2.3. Publish api plugin v1.1.
  • [upd] Demo's UI.
  • [add] NotificationUtils and demo.
  • [add] UiMessageUtils.
  • [add] ShadowUtils.
  • [add] DebugUtils.
  • [fix] PermissionUtils NPE.

1.25.9

26 Aug 03:04
Compare
Choose a tag to compare

v1.25.9

  • [upd] ImageUtils#getImageType.
  • [add] LogUtils#getLogFiles.
  • [fix] PhoneUtils#getIMEI crash on SDK 29.
  • [add] ViewUtils#isLayoutRtl.
  • [add] LogUtils#getLogFiles.

v1.25.8

  • [add] MapUtils and MapUtilsTest.
  • [add] CollectionUtils and CollectionUtilsTest.
  • [add] ArrayUtils and ArrayUtilsTest.

1.25.7

08 Aug 13:59
Compare
Choose a tag to compare

v1.25.7

  • [fix] https://www.virustotal.com/gui/home/upload with ESET-NOD32.
  • [add] BusUtils#post tag support one-to-many.
  • [add] ThreadUtils#Task support timeout.
  • [upd] EncryptUtils#rsa.
  • [add] DeviceUtils#getUniqueDeviceId, DeviceUtils#isSameDevice.
  • [fix] ThreadUtils's task can only be executed once. PhoneUtils#getIMEI wrong.
  • [fix] BusUtils post father class useless. KeyboardUtils#hideSoft bug.

1.25.3

28 Jul 06:22
Compare
Choose a tag to compare

v1.25.3

  • [add] NetworkUtils#(un)registerNetworkStatusChangedListener.
  • [fix] ThreadUtils memory leak.

1.25.2

26 Jul 15:45
Compare
Choose a tag to compare

v1.25.2

  • [add] ContainerUtils.
  • [fix] PermissionUtils' NullPointException.
  • [fix] ZipUtils#unzipFile.