droidconIN 2016

The sixth edition of droidconIN

AutoValue Extension

Submitted by Harshit Bangar (@bangarh) on Aug 10, 2016

Section: Crisp talk (15 minutes) Technical level: Intermediate Status: Rejected

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

{{ gettext('Login to leave a comment') }}

{{ gettext('You need to be a participant to comment.') }}

{{ formTitle }}
{{ gettext('Post a comment...') }}
{{ gettext('New comment') }}

{{ errorMsg }}