what is the use of recycle() method in TypedArray

前端 未结 4 1114
难免孤独
难免孤独 2020-12-14 14:32

I have created a GalleryView and ImageView which displays the Image bigger when an item is clicked in the gallery. I have used the below code to im

4条回答
  •  隐瞒了意图╮
    2020-12-14 15:11

    The recycle() causes the allocated memory to be returned to the available pool immediately and will not stay until garbage collection. This method is also available for Bitmap.

提交回复
热议问题