AirshipEmbeddedView
Constructor for inflating from XML.
Parameters
The context.
The attribute set.
The default style.
Constructs an embedded view that will display content for the given embedded ID.
Parameters
a Context.
the embedded ID.
the AirshipEmbeddedSelection that controls which instance is displayed.
optional placeholder layout resource to display when no content is available.
Constructs an embedded view that will display content for the given embedded ID, with an eligibility filter.
Parameters
a Context.
the embedded ID.
the AirshipEmbeddedSelection that controls which instance is displayed.
placeholder layout resource to display when no content is available, or null for none.
AirshipEmbeddedFilter deciding which instances are eligible, or null to keep every pending instance. Applied before selection, so an excluded instance is never displayed even when selection targets it.
Deprecated
Use the constructor that takes AirshipEmbeddedSelection instead.
Constructs an embedded view that will display content for the given embedded ID.
Parameters
a Context.
the embedded ID.
optional Comparator used to sort available embedded contents.
optional placeholder layout resource to display when no content is available.