You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use any available modifier on fields: public, protected, nothing (package private) or private. Private requires reflection so it is not advised.
To use getters and setters instead of fields (which need to be public per the java bean spec) annotate your bean like so:
It seems that class fields need to be public in order to parceler work. Is it right?
Can't we use getter/setter methods instead?
The text was updated successfully, but these errors were encountered: