androidx.collection:collection-ktx

Official Description: Kotlin extensions for 'collection' artifact

CommonsWare’s Notes

Partly, this artifact contains top-level factory functions for androidx.collection:collection classes, such as arrayMapOf() for ArrayMap and lruCache() for LruCache.

Partly, this artifact contains extension functions for SparseArray and LongSparseArray to give it an API more reminiscent of Array, including things like support for the + and []= operators.

This artifact pulls in androidx.collection:collection as a transitive dependency, so Kotlin developers might consider just depending directly on this artifact, if you are using androidx.collection classes directly in your code.

Documentation

Versions