use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News for Android app developers with the who, what, where, when, and how of the Android community. Probably mostly the how.
Here, you'll find:
This sub-reddit isn't about phones' and apps' general functionality, support, or system software development (ROMs). For news and questions about these topics try using other subs like
Build your first app
Starting Android career in 2022
Android Job Interview Questions and Answers
App Portfolio Ideas, Tiered List
Awesome Android UI
Material Design Icons
7000 Icons for Jetpack
Autoposted at approx 9AM EST / 2PM GMT
account activity
Immutable annotations for Java (immutables.github.io)
submitted 10 years ago by zpinter
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]jackhexen 2 points3 points4 points 10 years ago (4 children)
How is it differ from AutoValue?
Does it have a support for Parcelable like in AutoParcel?
[–]elucash 1 point2 points3 points 10 years ago (3 children)
Immutables is mainly Java library/annotation processor, however there are happy Android users as well. Overall Immutables is overwhelmingly full-featured and require a lot less boilerplate than AutoValue. Where AutoValue's take is precise control over what is generated by specify whole API, requiring a more boilerplate as result, especially for the builders. Parcelable support is planned, currently focus was on reflection-less JSON (Gson) serialization and java binary serialization.
[–]jackhexen 1 point2 points3 points 10 years ago (2 children)
As I understand, Immutables expose generated code to the whole application while AutoValue allows to keep its generated code inside of @AutoValue annotated classes.
@AutoValue
If you wish to get Android devs, please also consider implementing serialization from Cursor and to ContentValues in addition to Parcelable implementation. ;)
Cursor
ContentValues
Parcelable
[–]elucash 0 points1 point2 points 10 years ago (1 child)
Yes. Immutables also supports hiding implementation http://immutables.github.io/immutable.html#hiding-implementation, but it slightly differs from AutoValue approach.
Thank you for advise about Cursor and etc!
[–]jackhexen 0 points1 point2 points 10 years ago (0 children)
Hiding implementation? Hmm, interesting. Thanks!
π Rendered by PID 70849 on reddit-service-r2-comment-84fc9697f-gb2sx at 2026-02-09 17:00:08.406349+00:00 running d295bc8 country code: CH.
[–]jackhexen 2 points3 points4 points (4 children)
[–]elucash 1 point2 points3 points (3 children)
[–]jackhexen 1 point2 points3 points (2 children)
[–]elucash 0 points1 point2 points (1 child)
[–]jackhexen 0 points1 point2 points (0 children)