Back in 2011 Google removed from its Performance Tips the advice to avoid enums. Today I've been rewriting an older app and wanted to add a feature that allows you to change the EditTexts' size using a PreferenceFragmentCompat at runtime. It would have a low, medium and big setting and the sizes would be resolution independent. A low, medium and big trio is asking for an enum and apparently enums were already ok with Android SDK.
But then I decided yet to check this again.
And it turns out that nowadays using an @IntDef is the kosher way of doing things.
20 January, 2017
13 January, 2017
Consistency for iOS new release
Consistency for iOS has a new version, 2.0.
Raise The Tower for iOS new release
Raise The Tower for iOS has a new release, version 2.0
Subscribe to:
Posts (Atom)