At F8 developer conference this
week, Most of Facebook’s announcements were iOS-centric, but today, the company also released three new open source tools for Android developers.
1. Year Class
This is performance segmentation library that is intended to help developers rapidly figure out what kind of device
a user is running. Because of that, a developer can quickly tune an app
for an older device by turning on some advanced animations or enable fancier features for more modern phones.
2. Network Connection Class :
The Network Connection Class tool
does something similar, but for network connections. Turns out, simply realizing that a client is on a HSPA connection doesn’t actually tell you
all that much about the actual network speed. According to Facebook, the
speed of HSPA connection can vary by 5x between networks.
With the help of this new tool, developers can get a better idea of the kind of
speeds their users are getting on their networks and tune their apps
accordingly.
3. Fresco
Fresco
is a new image library for Android apps. The idea here is to ensure
that apps don’t run out of memory when they load multiple images by
being smarter about memory management (those GIFs can get huge, after all) and streaming images when possible.
The system also handles basic functions like displaying placeholders
and image caching. You can find the technical details about how exactly
this works here.
0 comments:
Post a Comment