On this new year of 2017, I decide to find a better blogging platform which support Markdown syntax, as it will be easier for me to blog with programming code.
Here is the new site: https://medium.com/fabiohub
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." - Martin Fowler
Sunday, January 8, 2017
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.
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.
Subscribe to:
Posts (Atom)