You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Kolyall I wish that were possible, unfortunately, fields such as R.styleable.MyView are of type int[], not int, as such they are not constant values (the content of the array can be changed) and can't be used as an annotation attribute value per Java rules.
However, styleable declarations usually have the same name as their associated view so we could omit the parameter entirely in favor of a naming configuration, see #3.
Change param of annotation
Styleable
fromString
toint
(R.styleable.*), example:The text was updated successfully, but these errors were encountered: