Skip to content

Releases: hereisderek/android-util

remove work in progress code

06 Aug 00:12
Compare
Choose a tag to compare

accumulated release

05 Aug 23:51
Compare
Choose a tag to compare

some changes..

(and yes I'm being lazy)

lower min sdk version

09 Dec 05:31
Compare
Choose a tag to compare

0.2.5

09 Dec 04:39
Compare
Choose a tag to compare
  • String/CharSequence sub or null
  • Cursor.foreach
  • IDbHelper
  • Cursor?.isNullOrEmpty

migrade gradle to kotlin dsl and :refreshVersions

26 Nov 04:28
Compare
Choose a tag to compare

0.2.1

11 Nov 23:05
Compare
Choose a tag to compare
  • CloseableSafe (not tested)

  • updated to fun <T, C : Closeable> C?.useOrCreateAndClose, created fun <T> SQLiteDatabase.transaction(code: SQLiteDatabase.() -> T) : T?,

fun <T> SQLiteDatabase.transaction(
  throwException: Boolean = false,
  code: SQLiteDatabase.() -> T
) : T?

0.2.0

11 Nov 21:17
Compare
Choose a tag to compare
  • SingleFragmentActivity, upgraded lib version
  • created and updated useOrCreateAndClose for closeable and fun Closeable?.closeQuiet(handler: ((Exception)->Unit)? = null)

0.1.12

05 Sep 06:27
Compare
Choose a tag to compare
  • removed Cursor.toArrayList(block: (Cursor) -> T): ArrayList and fun Cursor.toArrayList(close: Boolean = false, block: (Cursor) -> T): ArrayList, you should just use the updated version of
    inline fun Cursor.toArrayListIndexed(close: Boolean = false, block: Cursor.(index: Int) -> T): ArrayList instead.
  • added fun <K, V> Cursor.toArrayMapIndexed(close: Boolean = false, block: Cursor.(index: Int) -> Pair<K, V>) : Map<K, V>
  • fix crash fun toUriIdFromContentUri()
  • added setOnEditorActionListenerWithAction

0.1.11

04 Sep 05:03
Compare
Choose a tag to compare

0.1.10

28 Aug 04:33
Compare
Choose a tag to compare

added fun ImageUtil.getImageOrientation(context: Context, uri: Uri) : Int