-
- All Implemented Interfaces:
-
com.airbnb.paris.styles.Style
public final class MultiStyle implements Style
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMultiStyle.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BooleanshouldApplyParentprivate final BooleanshouldApplyDefaults
-
Constructor Summary
Constructors Constructor Description MultiStyle(String name, Style styles)MultiStyle(String name, Integer styleRes)
-
Method Summary
Modifier and Type Method Description BooleangetShouldApplyParent()Presumably multistyles would never be constructed with a SimpleStyle containing an AttributeSet, which is the only reason why we wouldn't want to apply the parent style applier BooleangetShouldApplyDefaults()If true then default attribute values will be applied for missing attributes, if false they won't Stringname(Context context)TypedArrayWrapperobtainStyledAttributes(Context context, IntArray attrs)-
-
Method Detail
-
getShouldApplyParent
Boolean getShouldApplyParent()
Presumably multistyles would never be constructed with a SimpleStyle containing an AttributeSet, which is the only reason why we wouldn't want to apply the parent style applier
-
getShouldApplyDefaults
Boolean getShouldApplyDefaults()
If true then default attribute values will be applied for missing attributes, if false they won't
-
obtainStyledAttributes
TypedArrayWrapper obtainStyledAttributes(Context context, IntArray attrs)
-
-
-
-