You will allocate much more garbage. Better use ko...
# android
m
You will allocate much more garbage. Better use kotlinx.
s
miha-x64: garbage is pretty minimal unless you have giant view hierarchies and are changing activities thousands of times
m
Using the same approach, for example, with ViewHolders, will lead to much bigger number of objects.
đź‘Ť 1
s
Good point! That’s very true with viewholders, or some custom view with many many children.