GithubHelp home page GithubHelp logo

ContentAllocator API not working about litho HOT 14 OPEN

shiv71 avatar shiv71 commented on April 28, 2024
ContentAllocator API not working

from litho.

Comments (14)

shiv71 avatar shiv71 commented on April 28, 2024

@drd @astreet @javache @dreiss any one can reply the above question.

from litho.

adityasharat avatar adityasharat commented on April 28, 2024

Thank you for reporting this bug. We'll land a fix this week. We'll get back to regarding loading photo/videos and performance.

from litho.

shiv71 avatar shiv71 commented on April 28, 2024

@adityasharat Thanks for your reply.
We are waiting for fix.

from litho.

shiv71 avatar shiv71 commented on April 28, 2024

@adityasharat I am facing one more issue.
I have created a custom component using android ImageView and glide to load url image. I am using this component with
lazy list component. Image is loading perfectly but when I scroll list up and down image is getting blurred.

from litho.

rahulvyas avatar rahulvyas commented on April 28, 2024

Thank you for reporting this bug. We'll land a fix this week. We'll get back to regarding loading photo/videos and performance.

@adityasharat any updates on fix?

from litho.

adityasharat avatar adityasharat commented on April 28, 2024

The fix has landed (commit). It should be available in the next release which we'll publish this week.

from litho.

rahulvyas avatar rahulvyas commented on April 28, 2024

The fix has landed (commit). It should be available in the next release which we'll publish this week.

Thanks for the update. I was wondering did anyone ever created a working sample of a Facebook/instagram style news feed with photos and videos? do you have any idea about this?

from litho.

adityasharat avatar adityasharat commented on April 28, 2024

The closest we have is a surface with photos in the Litho sample app.

EDITED:
We don't really have OSS examples of how to use Litho for a moderately complex app, and no open source video component.

In general, it is recommended to do as much work as possible ahead of time; this means doing most of the heavy lifting of prepare the media during the @OnPrepare and/or @OnMeasure callbacks. These should be done in a way to make @OnMount a cheap operation (i.e. when on mount is invoked the media should be ready for render).

I hope these general recommendation can help you design a solution that fits your needs.

Screen.Recording.2023-02-13.at.17.57.26.mov

from litho.

shiv71 avatar shiv71 commented on April 28, 2024

The fix has landed (commit). It should be available in the next release which we'll publish this week.

Is this fix released?

from litho.

shiv71 avatar shiv71 commented on April 28, 2024

The fix has landed (commit). It should be available in the next release which we'll publish this week.

Below issue are not resolved
I'm using lazylist and if the first post having photo/video then it doesn't work. If I scroll down and up then it shows up.
I tried to use preAllocate, and shouldUpdate methods but those are also not calling.
Image getting blur when scorlling list up and down.

from litho.

shivprakash86 avatar shivprakash86 commented on April 28, 2024

@adityasharat awaiting for your reply.

from litho.

adityasharat avatar adityasharat commented on April 28, 2024

Can you please provide a repro (say as a patch) for this issue otherwise it very hard to provide support.

from litho.

shivprakash86 avatar shivprakash86 commented on April 28, 2024

Ok we will try to provide demo

from litho.

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.