Remember to localize for String conversion

Elye - A One Eye Developer
2 min readDec 6, 2016

This is a very simple subject, but it bites me. So I thought would be good to share.

I have an enumeration as below

public enum EnumType {
NONE,
PRIMARY,
SECONDARY
}

It is used to determined some analytical text to be sent. To ensure we don’t need to map this to a set of String that refers to the enum , I use the enum and…

--

--