Comments (14)
@drd @astreet @javache @dreiss any one can reply the above question.
from litho.
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.
@adityasharat Thanks for your reply.
We are waiting for fix.
from litho.
@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.
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.
The fix has landed (commit). It should be available in the next release which we'll publish this week.
from litho.
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.
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.
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.
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.
@adityasharat awaiting for your reply.
from litho.
Can you please provide a repro (say as a patch) for this issue otherwise it very hard to provide support.
from litho.
Ok we will try to provide demo
from litho.
Related Issues (20)
- How can I help with Doc localization? HOT 1
- TreeProp updates aren't given to children inside Sections HOT 1
- FrescoImage can't support ScaleType well HOT 3
- visibleHandler and invisibleHandler is not effective HOT 1
- Relocate Litho dependencies in a location other than JCenter. HOT 1
- Paint Flags support HOT 1
- ClickEvent beyond recycler HOT 4
- TextInput with RTL makes ViewPager jump between pages HOT 1
- Elements outside the viewport are not drawn on entering HOT 2
- Litho HOT 1
- Automirrored vector drawables do not get mirrored when layout is RTL HOT 2
- HorizontalScroll should provide the ability to fade edges HOT 3
- how do you update state from a Android Fragment/View parent? like React's useImperativeHandle
- Are there any plans to replace unsupported APIs (KEYCODE_BACK and #onBackPressed) to support Android's new Predictive back gesture?
- OnUpdateState not invoke on parent recycler component
- How to update prop value of MountSpec from LayoutSpec
- How does Litho (Kotlin API) compare to Compose? HOT 1
- Lazy list not working in project getting error HOT 4
- NullPointerException in TextDrawable.Draw, seemingly from a race condition in ComponentHost$InterleavedDispatchDraw
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from litho.