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
|
Constructors
<init>
constructor(currentWidgetViewStream: Stream<Pair
Parameters
Name | Description |
---|---|
currentWidgetViewStream: Stream<Pair
|
Methods
setWidgetContainer
fun setWidgetContainer(widgetContainer: FrameLayout, widgetViewThemeAttributes: WidgetViewThemeAttributes)
Parameters
Name | Description |
---|---|
widgetContainer: FrameLayout
|
|
widgetViewThemeAttributes: WidgetViewThemeAttributes
|
ReturnValue
Name | Description |
---|---|
Unit
|