How to fix “canvas: trying to use a recycled bitmap error”?

前端 未结 4 1642
轻奢々
轻奢々 2021-01-12 07:15

I\'m creating a RecyclerView to show a Grid of pictures. When selecting one of them, it should open a new activity with a transition.

I\'m using Glide l

4条回答
  •  一向
    一向 (楼主)
    2021-01-12 07:54

    Move bitmap.recycle(); to another place in the code where this bitmap is really no longer needed.

提交回复
热议问题