AirshipEmbeddedView

constructor(context: Context, attrs: AttributeSet? = null, defStyle: Int = 0)

Constructor for inflating from XML.

Parameters

context

The context.

attrs

The attribute set.

defStyle

The default style.


constructor(context: Context, embeddedId: String, comparator: Comparator<AirshipEmbeddedInfo>? = null, @LayoutRes placeholderRes: Int? = null)

Constructs an embedded view that will display content for the given embedded ID.

Parameters

context
embeddedId

the embedded ID.

comparator

optional Comparator used to sort available embedded contents.

placeholderRes

optional placeholder layout resource to display when no content is available.