Git Product home page Git Product logo

Comments (8)

ChenSiLiang avatar ChenSiLiang commented on June 12, 2024

how to throw this exception , in which activity?

from boxing.

523931340 avatar 523931340 commented on June 12, 2024

in BoxingActivity,when i want to change the folder

from boxing.

ChenSiLiang avatar ChenSiLiang commented on June 12, 2024

which loader you use?

from boxing.

523931340 avatar 523931340 commented on June 12, 2024

BoxingFrescoLoader( Samsung SM-G9200 Android 6.0.1 API 23)

from boxing.

ChenSiLiang avatar ChenSiLiang commented on June 12, 2024

I try the same phone and all things are right.
Avoid using recycled bitmap already In BoxingFrescoLoader

if (bitmap == null || bitmap.isRecycled()) {
       onFailureImpl(dataSource);
       return;
}

maybe you can provider more detail?

from boxing.

523931340 avatar 523931340 commented on June 12, 2024

@ChenSiLiang 换成Glide加载图片没有这个问题...

from boxing.

Xuzhiwei avatar Xuzhiwei commented on June 12, 2024

我也是使用BoxingFrescoLoader这个类,这个问题主要出在loadImage方法里面,有一行CloseableReference的对象,CloseableReference result = dataSource.getResult();
在finally的时候对它进行了 CloseableReference.closeSafely(result);
了,所以会出这问题,只要改成
CloseableReference result = dataSource.getResult().clone();
就可以解决了。

from boxing.

ChenSiLiang avatar ChenSiLiang commented on June 12, 2024

用Frescoloader的话要用它的控件drawee

from boxing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.