WidgetContainerViewModel

WidgetContainerViewModel

class WidgetContainerViewModel

Fields

Name Description
var enableDefaultWidgetTransition: Boolean
var widgetLifeCycleEventsListener: WidgetLifeCycleEventsListener?
var analyticsService: AnalyticsService?
var swipeDismissTouchListener: View.OnTouchListener?
var widgetViewViewFactory: LiveLikeWidgetViewFactory?
val currentWidgetViewStream: Stream<Pair<String, SpecifiedWidgetView?>?>

Constructors

<init>

constructor(currentWidgetViewStream: Stream<Pair<String, SpecifiedWidgetView?>?>)

Parameters

Name Description
currentWidgetViewStream: Stream<Pair<String, SpecifiedWidgetView?>?>

Methods

setWidgetContainer

fun setWidgetContainer(widgetContainer: FrameLayout, widgetViewThemeAttributes: WidgetViewThemeAttributes)

Parameters

Name Description
widgetContainer: FrameLayout
widgetViewThemeAttributes: WidgetViewThemeAttributes

ReturnValue

Name Description
Unit