droidconIN 2016

The sixth edition of droidconIN

Harshit Bangar

@bangarh

AutoValue Extension

Submitted Aug 10, 2016

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('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

droidconIN is an annual conference on Android, part of the worldwide series of events. more