【问题标题】:Does the RecyclerView recycle Bitmaps stored within ImageViewsRecyclerView 是否回收 ImageViews 中存储的 Bitmap
【发布时间】:2016-05-24 16:37:09
【问题描述】:

我正在尝试追踪 ImageView 使用回收位图的错误,我的问题是,当 ViewHolder 被回收时,RecyclerView 会自动回收我的位图吗?

干杯!

【问题讨论】:

    标签: java android bitmap android-recyclerview recycle


    【解决方案1】:

    不,它没有。 Viewholder 旨在防止 findViewByid 查找的额外资源。我不认为它做任何额外的事情!

    【讨论】:

      猜你喜欢
      • 2019-09-05
      • 2011-10-23
      • 2011-07-16
      • 1970-01-01
      • 1970-01-01
      • 2012-10-05
      • 2023-03-19
      • 2014-12-30
      • 1970-01-01
      相关资源
      最近更新 更多