r/androiddev • • Nov 26 '16

Effective Java for Android (cheatsheet)

https://medium.com/rocknnull/effective-java-for-android-cheatsheet-bf4e3433889a
223 Upvotes

49 comments sorted by

View all comments

0

u/[deleted] Nov 26 '16

[deleted]

1

u/VeyndanStuart github.com/veyndan Nov 27 '16

Another option is to put the required fields as the constructor parameters of the Builder.

0

u/[deleted] Nov 27 '16

[deleted]

1

u/VeyndanStuart github.com/veyndan Nov 27 '16

Ah sorry must have missed that. I probably shouldn't go on Reddit just before I'm about to sleep haha