Package io.didomi.sdk.common.extension
Class TextViewKt
-
- All Implemented Interfaces:
public final class TextViewKt
-
-
Method Summary
Modifier and Type Method Description final static UnitapplyTheme(TextView $self, DidomiConstants.TextViewType type, ThemeProvider themeProvider)Setup text theme final static UnitapplyTheme(TextView $self, TextTheme theme)Apply Text theme to a TextView. -
-
Method Detail
-
applyTheme
final static Unit applyTheme(TextView $self, DidomiConstants.TextViewType type, ThemeProvider themeProvider)
Setup text theme
- Parameters:
type- as the DidomiConstants.TextViewType of TextViewthemeProvider- as the ThemeProvider to apply
-
applyTheme
final static Unit applyTheme(TextView $self, TextTheme theme)
Apply Text theme to a TextView.
- Parameters:
theme- the TextTheme containing computed theme properties
-
-
-
-