TextDrawable icon indicating copy to clipboard operation
TextDrawable copied to clipboard

Library is very memory inefficient

Open afollestad opened this issue 10 years ago • 3 comments

It's pretty irresponsible based on how many people use this library.


This library allocates Typefaces over and over again rather than caching them, resulting in a lot of memory usage. You should be caching Typefaces using something like TypefaceHelper.

afollestad avatar Jan 12 '16 17:01 afollestad

I thought, is a caching internally integrated. With assets files is the problem or not?

markus2610 avatar May 07 '16 14:05 markus2610

No, if you monitor resources while an app is running, you can see that assets are allocated multiple times.

afollestad avatar May 07 '16 15:05 afollestad

Is this resolved? How does it play with RecyclerView?

maxbeaudoin avatar Oct 02 '17 13:10 maxbeaudoin