recyclerview - Android image drawable bind -


i working in application have huge list(list of recyclerview) , i'm trying improve memory foot print of app. when used hrop check heap allocation, saw imageviews not visible taking memory, i'm trying remove src tag in xml imageview , trying add dynamically (setimagedrawable) visible.

ex: holder.guidechannelfavorite.setimagedrawable(mcontext.getresources().getdrawable(r.drawable.icon_favorite_channel));

is right way? drawbacks in this?

thanks


Comments

Popular posts from this blog

javascript - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -