-
public abstract class StyleBuilder<B extends StyleBuilder<B, A>, A extends StyleApplier<?, ?>>This class is meant to be implemented by classes generated by the framework exclusively
-
-
Constructor Summary
Constructors Constructor Description StyleBuilder(A applier, String name)StyleBuilder(A applier)StyleBuilder()
-
Method Summary
Modifier and Type Method Description final BdebugName(String name)Assigns a name to the style which will be displayed in "same attributes" assertions, ie this is only useful for debugging final Badd(AttributeSet attributeSet)Passing a null AttributeSet is a no-op, for convenience final Badd(@StyleRes() Integer styleRes)final Badd(Style style)final Stylebuild()final Aapply()Booleanequals(Object other)IntegerhashCode()-
-
Method Detail
-
debugName
final B debugName(String name)
Assigns a name to the style which will be displayed in "same attributes" assertions, ie this is only useful for debugging
-
add
final B add(AttributeSet attributeSet)
Passing a null AttributeSet is a no-op, for convenience
-
-
-
-