by Sriram Ramani (@sriramramani) on Sunday, 26 October 2014

+7
Vote on this proposal
Status: Confirmed & Scheduled
View session in schedule
Section
UI - full talks

Technical level
Intermediate

Objective

UI performance is more important for an app to be popular. In this talk you will learn about few concepts that can change the way you think about writing UI code.

Description

Android runs in over 40,000 different devices. Not all devices have the same power as Nexus 6 or HTC One. UI performance is more important for an app to be popular. Most of the times reducing the View hierarchy can give performance wins. But there are many more things that can help the UI performance.

Can we split each row in a ListView into multiple rows to achieve faster binding time? Wouldn’t it be cool if we can use sprites in Android just like we do in CSS? Oh wait, could it give performance win? TextViews have text layouts which are re-created every time we scroll. Can we cache them for performance wins? App gets GC-ed and UI stutters. Is there a way to postpone GC? My app has a lot of icons. Is there a way to reduce the numbers of icons I ship in the APK? This talk will provide answers for more questions like these.

Requirements

Have written UI for an app.
Some knowledge of bitmaps, text layouts.

Speaker bio

I work at Facebook on their Android app. As a UI Engineer, my job is to create re-usable UI components that can be used by product engineers. Earlier I worked at Mozilla as a front-end engineer on the Firefox for Android app. I blog at http://sriramramani.wordpress.com/ on nice UI techniques. I created the tool Droid Inspector (http://www.sriramramani.com/droidinspector) to debug UI issues in a 3D view. In my earlier life I graduated from Carnegie Mellon University with a Masters in HCI.

Comments

  • 2
    [-] Sriram Ramani (@sriramramani) Proposer 2 years ago
  • 1
    [-] Arnav Gupta (@championswimmer) 2 years ago

    Will be looking forward to this talk in a big way.

    Analysing UI at a technical level is something we rarely do, ending with laggy experience for users.

  • 1
    [-] Umang Jaipuria (@umangjaipuria) 2 years ago

    Should this be an “advanced” talk?

  • 1
    [-] Sriram Ramani (@sriramramani) Proposer 2 years ago

    I can make it an “advanced” talk. I didn’t want to scare people.

  • 1
    [-] rajat singhal (@rajatsinghal27) 2 years ago

    Can you provide the ppt from the session. They are not linked here like they are for other events.

Login with Twitter or Google to leave a comment