1. https://appdevelopermagazine.com/android
  2. https://appdevelopermagazine.com/how-did-facebook-speed-up-it's-new-app/
12/13/2012 6:00:35 PM
How did Facebook speed up it's new app
\news_old\files\Screen Shot 2012-12-13 at 6.00.20 PM-20121213-180040.png
App Developer Magazine
How did Facebook speed up its new app

Android

How did Facebook speed up it's new app


Thursday, December 13, 2012

Richard Harris Richard Harris

Facebook released an update to it's Android mobile app and everyone is taking notice of how much faster it is. So how'd they do that?
  1. They completely wrote the app largely in native Android code. The previous version was a hybrid of native and web code. They also reduced garbage collection while using the app which helped it's overall memory usage. 
  2. The developer team also wrote a custom event bus to handle on screen events, and they optimized it to work more smoothly while a user is scrolling.
  3. The handle loading images onto the device by loading them into the native heap rather than the java heap.
  4. They wrote a customized listview that helps with the overall load of data that gets loaded while users scroll.




Read more: http://www.infoworld.com/t/mobile-development/face...

Subscribe to App Developer Magazine

Become a subscriber of App Developer Magazine for just $5.99 a month and take advantage of all these perks.

MEMBERS GET ACCESS TO

  • - Exclusive content from leaders in the industry
  • - Q&A articles from industry leaders
  • - Tips and tricks from the most successful developers weekly
  • - Monthly issues, including all 90+ back-issues since 2012
  • - Event discounts and early-bird signups
  • - Gain insight from top achievers in the app store
  • - Learn what tools to use, what SDK's to use, and more

    Subscribe here