How did Facebook speed up it's new app

Posted on Thursday, December 13, 2012 by RICHARD HARRIS, Executive Editor

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.


More App Developer News

Deep space astrophoto targets for May of 2024



A new Hercules rotating focuser lands from Optec



Buildbox 4 AI turns game ideas into reality faster than ever



Odeeo hires Spotify executive James Cowan



ATT user opt in insights from AppsFlyer



Copyright © 2024 by Moonbeam Development

Address:
3003 East Chestnut Expy
STE# 575
Springfield, Mo 65802

Phone: 1-844-277-3386

Fax:417-429-2935

E-Mail: contact@appdevelopermagazine.com