by Aditya Sharat (@adityasharat) on Monday, 8 August 2016

+84
Vote on this proposal
Status: Confirmed & Scheduled
View session in schedule
Section
Full talk (40 minutes)

Technical level
Advanced

Media

Abstract

Proteus is meant to be a drop-in replacement for Android’s LayoutInflater; but unlike the compiled XML layouts bundled in the APK, Proteus inflates layouts at runtime. This talk will focus on why we built Proteus and how it helped us perform A/B tests and build custom brand pages without any App release.
With Proteus, you can control your Apps layout from the backend (no WebViews). Forget the boilerplate code to findViewById, cast it to a TextView, and then setText(). Proteus has runtime data bindings and formatters. Plugin in your own custom views and attributes and formatters.

Outline

  • What are we trying to solve, and why?
  • LayoutInflater, and how it doesn’t work.
  • How Proteus works.
  • Forget findViewById and setText.
  • What you can achieve.
  • There are others out there; kind of

Requirements

Intermediate knowledge of the Android Framework

  • XML layout and LayoutInflater
  • Building and deploying Android apps.

Speaker bio

Aditya is a Software Development Engineer at Flipkart. He is part of the team which build Proteus. He works on developing libraries, frameworks and tools to promote decoupling, abstraction, code reusability, extensibility, and stability. He is also a full-stack Web Developer specializing in development of high-performance web applications.

Comments

  • 3
    [-] Aishwarya Kumar (@aishwaryakumar) a year ago

    This looks interesting !

  • 3
    [-] Rahat Khanna (@mappmechanic) a year ago

    This looks very promising.

  • 1
    [-] vinayaka naik (@vinanaik) a year ago

    Nice work.

  • 1
    [-] Mohammed Shaiban (@shaiban) a year ago

    Just one word, Amazing.

    • 1
      [-] Aditya Sharat (@adityasharat) Proposer a year ago

      Thank you !! :)

  • 1
    [-] Dinakaran Egrove (@dinak1989) 4 months ago

    Hi Aditya,

    Whether proteus lib is used in Flipkart Android App??

    • 1
      [-] Aditya Sharat (@adityasharat) Proposer 4 months ago

      Yes, Flipkart app uses Proteus in production.

  • 1
    [-] Dinakaran Egrove (@dinak1989) 4 months ago

    For Flipkart Home page have you used proteus to render dynamic layout??? or its webview

    • 1
      [-] Aditya Sharat (@adityasharat) Proposer 4 months ago

      That is native, the homepage is built on another in house framework.

Login with Twitter or Google to leave a comment