Skip to content

Lint warning to replace Kotlin's defaults mutable Map and Set by ArrayMap and ArraySet

License

Notifications You must be signed in to change notification settings

VincentMasselis/ArrayMapArraySetLint

Repository files navigation

Introduction

Lint rule to replace Kotlin's defaults MutableMap and MutableSet implementations by the lightweight ArrayMap and ArraySet implementations. This library works with Android Studio to create an inspection directly into the editor and will suggest you to replace while you you are writting your code.

Dependencies

lintChecks 'com.vincentmasselis.arraymaparrayset:arraymaparrayset-lint:1.0.0'
implementation 'com.vincentmasselis.arraymaparrayset:arraymaparrayset-extensions:1.0.0'

Ressources

There is a video from Android Developpers explains why and when you should use ArrayMap:

Youtube Video

About

Lint warning to replace Kotlin's defaults mutable Map and Set by ArrayMap and ArraySet

Resources

License

Stars

Watchers

Forks

Packages

No packages published