Showing posts with label google. Show all posts
Showing posts with label google. Show all posts

Sunday, January 1, 2017

Retrofit 2 + AutoValueGson

Just try to use Google AutoValue on one of my existing open source project, the steps are basically as below.

Before Apply: A simple UserBean with GitHubService.

After Apply: It need to provide two libraries AutoValue & AutoValueGson, and the UserBean with @AutoValue annotation.

The full project can be found at GitHub.