LiveLikeWidgetViewFactory

In order to override your created custom widgets with the default widget, the integrator can initialize the livelikeWidgetViewFactory variable of WidgetView class.

widget_view.widgetViewFactory = object : LiveLikeWidgetViewFactory {
                    override fun createCheerMeterView(viewModel: CheerMeterWidgetmodel): View? {
                         return CustomCheerMeter(this@ExoPlayerActivity).apply {
                            cheerMeterWidgetModel = viewModel
                        }
                    }

                    override fun createAlertWidgetView(alertWidgetModel: AlertWidgetModel): View? {
                        return null
                    }
                }

Note: For default Widget return null

Analytics : Please see Custom Widget Events for custom widget events