what do you think about caching string/color resou...
# android
p
what do you think about caching string/color resources via kotlin-android-extensions? I’d love to access resources via cached properties with 1 import e.g.
colorPrimary
instead of
ContextCompat.getColor(context, R.color.colorPrimary)
or even
context.getColor(R.color.colorPrimary)
(from API 23)… or you think that it leads to abuse.
👍 1