Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

资源释放清除问题 #16

Open
Open
Labels
bugSomething isn't working
@tujingwu

Description

这个库很好啊,图片处理方式和思路。不过如果单独使用IMGView作为图片编辑view的话,会引起很多异常,主要是资源释放问题。
比如异常:1、Canvas: trying to use a recycled bitmap android.graphics.Bitmap@XXX。
复现情况:比如第一个界面跳转到第二个界面设置setImageBitmap(bitmap),然后退出(没释放资源),如此反复。
异常位置:IMGView类524行里,的
// 绘制图片
canvas.drawBitmap(mImage, null, mFrame, null);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /