Merge pull request #1808 from domingos86/typedarray-recycle
recycle typedArrays
This commit is contained in:
commit
030211183c
|
@ -189,6 +189,7 @@ public class FeedItemlistAdapter extends BaseAdapter {
|
|||
holder.type.setImageBitmap(null);
|
||||
holder.type.setVisibility(View.GONE);
|
||||
}
|
||||
typeDrawables.recycle();
|
||||
|
||||
if(media.isCurrentlyPlaying()) {
|
||||
holder.container.setBackgroundColor(playingBackGroundColor);
|
||||
|
|
|
@ -39,6 +39,7 @@ public class MenuItemUtils extends de.danoeh.antennapod.core.menuhandler.MenuIte
|
|||
queueLock.setTitle(de.danoeh.antennapod.R.string.lock_queue);
|
||||
queueLock.setIcon(ta.getDrawable(1));
|
||||
}
|
||||
ta.recycle();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue