Android Performance: Avoid using ENUM on Android
Ankit Sinhal
28811

My emum:
public enum MyEnum{
 ONE(“one”, 1),
 TWO(“two”, 2);

int name;
 String value;

MyEnum(int name, String value) {
 this.name = name;
 this.value = value;
 }
}

Can you help me to define TypeDef annotations in this case.
Thank you so much

Show your support

Clapping shows how much you appreciated KhanhNguyen’s story.