PredictionView

PredictionView

class PredictionView

Fields

Name Description
var dismissFunc: (DismissAction)->Unit
var widgetViewModel: BaseViewModel?

Constructors

<init>

constructor(context: Context, attr: AttributeSet?)

Parameters

Name Description
context: Context
attr: AttributeSet?

Methods

onAttachedToWindow

fun onAttachedToWindow()

ReturnValue

Name Description
Unit

applyTheme

fun applyTheme(theme: WidgetsTheme)

override this method in respective widgets to respect runtime unified json theme updation

Parameters

Name Description
theme: WidgetsTheme

ReturnValue

Name Description
Unit