Coder Social home page Coder Social logo

Comments (6)

plamenko avatar plamenko commented on April 28, 2024

Yeah, there was a typo in the documentation. This has been fixed now.

from fresco.

LarsLiden avatar LarsLiden commented on April 28, 2024

The documentation does not appear to have been fixed. The code in the docs link is the same as stated above and the problem still exists.

from fresco.

IanChilds avatar IanChilds commented on April 28, 2024

@LarsLiden, the code in the link above is: http://frescolib.org/docs/progressive-jpegs.html and is not the same as stated above. Which code are you looking at?

from fresco.

LarsLiden avatar LarsLiden commented on April 28, 2024

Thanks for your response, Ian. newDraweeControllerBuilder seems to return
a PipelineDraweeControllerBuilder object, not a DraweeController so the
code below triggers a compile error. If instead you change the code so
controller is of type PipelineDraweeControllerBuilder, then the
setController call fails as it expects a DraweeController.

Does that make sense?

DraweeController controller = Fresco.newDraweeControllerBuilder() .
setImageRequest(request) .setOldController(mSimpleDraweeView.getController
()) .build(); mSimpleDraweeView.setController(controller);

On Tue, Jun 16, 2015 at 2:40 PM, IanChilds [email protected] wrote:

@LarsLiden https://github.com/LarsLiden, the code in the link above is:
http://frescolib.org/docs/progressive-jpegs.html and is not the same as
stated above. Which code are you looking at?


Reply to this email directly or view it on GitHub
#25 (comment).

from fresco.

IanChilds avatar IanChilds commented on April 28, 2024

The build() method will return you a PipelineDraweeController from the PipelineDraweeControllerBuilder, which can be passed to the SimpleDraweeView.

from fresco.

LarsLiden avatar LarsLiden commented on April 28, 2024

Ah. Got it. Thanks and sorry for the confusion.

On Tue, Jun 16, 2015 at 2:59 PM, IanChilds [email protected] wrote:

The build() method will return you a PipelineDraweeController from the
PipelineDraweeControllerBuilder, which can be passed to the
SimpleDraweeView.


Reply to this email directly or view it on GitHub
#25 (comment).

from fresco.

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.