Facebook Open-Sources Litho Framework for Android Apps

Facebook Open-Sources Litho Framework for Android Apps

37
0

When it comes to Facebook, the company has always been about sharing and trying to bring people together. A lot of people do not think about Litho framework though when they think about Facebook and the goals the company has. It appears that the company is also willing to help Android apps run better.

Considering the company just announced the Litho framework will be open-sourced. We have all of the details about Facebook deciding to make the Litho framework open-sourced and what this means for Android apps.

Facebook Allowing Litho Framework to be Open-Sourced

The cool thing is that Facebook will be open-sourcing this Litho framework for other people to use.  The goal here is that Android apps that use this framework will run better. The apps will also have a higher performing user interface. The Litho framework is supportive of native development.

The Yoga layout system and React UI Library from Facebook uses the Litho framework. Basically, you can change the layout operations and move things around so that things are happening in the background at a quicker pace.

Since the framework uses declarative APIs, it will mean that the app developers will not have to optimize these user interfaces by hand. Everything is incrementally laid out so that the performance of the app is improved, and this is all done via a background thread.

There was already a ComponentKit framework available for iOS devices and iOS app developers. The fact that Facebook finally is putting the Litho framework in an open-source environment is pretty good. The only thing though, is that it should have been done at the same time the iOS framework was put out.

More Details About Litho Framework

Going into more details about this Litho framework, it basically will divide up various complex views into much smaller sections. You will notice that the videos, text, images, and other items are incrementally rendered out. This allows for multiple frames to be used overall and it will cut down on the views that are stored in the memory.

So think of it as spreading peanut butter over a piece of bread instead of a small cracker. Since there is more surface area with Litho framework, you will be able to allow each complex view to be shattered into a million smaller pieces.

Of course, breaking things up and spreading them out will create a higher-performing and much smoother user-interface for the Android app and the developer creating the app. The Android user will then see the improvements to the app performance and notice a much more memory-friendly app. In fact, this framework can even result in a 35 percent increase in scroll performance.

If you are an Android app developer, knowing that Facebook has open-sourced the Litho framework is really good news. Now you will be able to use this Facebook framework on your own app creation, allowing you to do more complex things in your app without ruining performance or app abilities.

For people who are running on an Android device, they will notice that apps that utilize the Litho framework will look much better than the standard framework, and also will notice the performance of the app and responsiveness of the app improved significantly.

Another cool thing here is that you will also likely be saving battery power as well, since the apps are going to be less of a drain on your battery and memory. So overall, this news is going to be great for anyone and everyone who has an Android device. This could be app developers or Android users as a whole. You should be able to find the new Litho framework available right now for free for Android.