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

前端 未结 4 1704
轻奢々
轻奢々 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:57

    I don't know much about canvas (I don't use animations that often) but if you don't find any way to fix this, you could try using this library instead: https://github.com/codepath/android_guides/wiki/shared-element-activity-transition

提交回复
热议问题