LiveLikeWidgetViewFactory

LiveLikeWidgetViewFactory

interface LiveLikeWidgetViewFactory

WidgetView Factory is responsible for providing the instance of custom widget ui.

Methods

createCheerMeterView

abstract fun createCheerMeterView(cheerMeterWidgetModel: CheerMeterWidgetmodel): View?

Parameters

Name Description
cheerMeterWidgetModel: CheerMeterWidgetmodel

ReturnValue

Name Description
View?

createAlertWidgetView

abstract fun createAlertWidgetView(alertWidgetModel: AlertWidgetModel): View?

Parameters

Name Description
alertWidgetModel: AlertWidgetModel

ReturnValue

Name Description
View?

createQuizWidgetView

abstract fun createQuizWidgetView(quizWidgetModel: QuizWidgetModel, isImage: Boolean): View?

Parameters

Name Description
quizWidgetModel: QuizWidgetModel
isImage: Boolean

ReturnValue

Name Description
View?

createPredictionWidgetView

abstract fun createPredictionWidgetView(predictionViewModel: PredictionWidgetViewModel, isImage: Boolean): View?

Parameters

Name Description
predictionViewModel: PredictionWidgetViewModel
isImage: Boolean

ReturnValue

Name Description
View?

createPredictionFollowupWidgetView

abstract fun createPredictionFollowupWidgetView(followUpWidgetViewModel: FollowUpWidgetViewModel, isImage: Boolean): View?

Parameters

Name Description
followUpWidgetViewModel: FollowUpWidgetViewModel
isImage: Boolean

ReturnValue

Name Description
View?

createPollWidgetView

abstract fun createPollWidgetView(pollWidgetModel: PollWidgetModel, isImage: Boolean): View?

Parameters

Name Description
pollWidgetModel: PollWidgetModel
isImage: Boolean

ReturnValue

Name Description
View?

createImageSliderWidgetView

abstract fun createImageSliderWidgetView(imageSliderWidgetModel: ImageSliderWidgetModel): View?

Parameters

Name Description
imageSliderWidgetModel: ImageSliderWidgetModel

ReturnValue

Name Description
View?