droidconIN 2016

The sixth edition of droidconIN

AutoValue Extension

Submitted by Harshit Bangar (@bangarh) on Tuesday, 9 August 2016

videocam_off

Technical level

Intermediate

Section

Crisp talk (15 minutes)

Status

Submitted

Vote on this proposal

Login to vote

Total votes:  +7

Abstract

Supporting value type is hard in Java. In this talk I will be talking about autovalue and extensions which makes android development much more pleasent.

Outline

To write a value type in Java it needs 40 lines of code plus 10 lines of code for each field. It is tedious and error prone as while updating the model toString(), equals() are often missed. In this talk I am talking about auto-value extensions. I will be showing how easy is to reuse same model when changing the underlying network layer like Gson or Moshi.

Requirements

None. Some understanding of annotation processing (JSR-330) will help.

Speaker bio

Currently working in Uber, previously I have worked at Amazon, Kiwi and tried running my own startup. I am always excited about new shiny languages such as Swift, Kotlin and love to talk about pros/cons and how to make development process easier.

Slides

https://drive.google.com/open?id=0B_hrH8mq9X7ZUng2aWNrWlR4bVU

Comments

Login with Twitter or Google to leave a comment