varArg
Declares this prop supports a variable arguments, and provide utility methods to add values to the prop.
For example, having @Prop(varArg="name") List<CharSequence> names
would generate a setter name
method which can be called multiple times to add a set of names.
The prop must be a parameterized list. It is effectively always optional, and has an empty list (immutable) as a default value.
MyComponent.create(c)
.name("A")
.name("B")
.name("C")
Content copied to clipboard
Return
The declared name of the setter method.