1. 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
https://appdevelopermagazine.com/news_old/files/Screen Shot 2012-12-13 at 6.00.20 PM-20121213-180040.png
App Developer Magazine

How did Facebook speed up it's new app

Richard Harris Richard Harris in Android Thursday, December 13, 2012

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...