resType
Declares that the default value must be a resource of the specified ResType.
For example:
@LayoutSpec
class SomeSpec {
@PropDefault(resType = ResType.STRING, resId = R.string.default_name)
static final String name = null;
}
Content copied to clipboard
Return
A valid resource type.