3 ms·
> How much did it improve the scroll performance? We are still have some more work to do in News Feed but on other surfaces in the app we have seen a 42% impro
by dowhileone 9y ago
> How much did it improve the scroll performance?
We are still have some more work to do in News Feed but on other surfaces in the app we have seen a 42% improvement in skipped frames when converting from Views to Litho. This is measured by sampling skipped frames while scrolling in production.
> does this mean that Android's own UI Toolkit cannot be used within this context?
Views should not be accessed on a background thread according to the Android documentation. Litho renders inside of a light weight wrapper view and interacts with this wrapper view on the UI thread. Nevertheless, Litho moves most of the heavy lifting from rendering to the background.
> What is the level of integration that Litho and Android's UI Toolkit can have?
During the conversion to Litho, News Feed rendered with some standard views and some Litho
>in regards to Android's Accessibility APIs, does Litho components handle/have that capability?
Yup! It's a full featured UI framework. Animations are under active development though.