-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DB: use @StringDef
to annotate possible service and collection types
#1225
Comments
Umm, I don't understand this. According to the android dev reference on @StringRes we use that annotation to "Denote that an integer parameter, field or method return value is expected to be a String resource reference (e.g. android.R.string.ok)". The properties |
Why are we even storing strings in the first place? Shouldn't we simply migrate to enum classes? |
I think it is a typo, what Ricki is referring to is |
Yes sorry. Changed accordingly. |
@StringRes
to annotate possible service and collection types@StringDef
to annotate possible service and collection types
We should use
@StringDef
to mark possible values ofCollection.type
Service.type
The text was updated successfully, but these errors were encountered: