"because not all Java features are ported and used in Android (e.g. enums, serialization, etc) or due to the limitations that a mobile device has (e.g. Dalvik/ART behaves differently than a desktop JVM"
Dear writer, do you mind sharing what those are? Specifically about enums and serialization?
You can use serialization and enums, so what is not ported exactly?
Good catch, thanks for pointing out. What i meant is that neither of the two features are widely used in Android. Enums (@IntDef are preferred) and serialization (parcelables are preferred) have Android-specific alternatives.
9
u/McDaddyWithFries Nov 26 '16
"because not all Java features are ported and used in Android (e.g. enums, serialization, etc) or due to the limitations that a mobile device has (e.g. Dalvik/ART behaves differently than a desktop JVM"
Dear writer, do you mind sharing what those are? Specifically about enums and serialization?
You can use serialization and enums, so what is not ported exactly?