Should IntDef and StringDef Still Be Used In 2018?

Should IntDef and StringDef Still Be Used In 2018?

For years from google doc (ref):

You should strictly avoid using enums on Android.

Today, I checked the Google website, this message disappeared!

And after i read this discussion, I think we should use enum more lol