Language

Drawable.InflateAsync Method

Definition

Overloads

InflateAsync(Resources, XmlReader, IAttributeSet)

public System.Threading.Tasks.Task InflateAsync(Android.Content.Res.Resources r, System.Xml.XmlReader parser, Android.Util.IAttributeSet attrs);
member this.InflateAsync : Android.Content.Res.Resources * System.Xml.XmlReader * Android.Util.IAttributeSet -> System.Threading.Tasks.Task

Parameters

r
Resources

Resources used to obtain drawable attributes.

parser
XmlReader

The XML reader for the drawable being inflated.

attrs
IAttributeSet

The attributes for the drawable element.

Returns

A task representing the call to Inflate(Resources, XmlReader, IAttributeSet).

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

InflateAsync(Resources, XmlReader, IAttributeSet, Resources+Theme)

public System.Threading.Tasks.Task InflateAsync(Android.Content.Res.Resources r, System.Xml.XmlReader parser, Android.Util.IAttributeSet attrs, Android.Content.Res.Resources.Theme? theme);
member this.InflateAsync : Android.Content.Res.Resources * System.Xml.XmlReader * Android.Util.IAttributeSet * Android.Content.Res.Resources.Theme -> System.Threading.Tasks.Task

Parameters

r
Resources

Resources used to obtain drawable attributes.

parser
XmlReader

The XML reader for the drawable being inflated.

attrs
IAttributeSet

The attributes for the drawable element.

theme
Resources.Theme

The theme used to resolve attributes, or null.

Returns

A task representing the call to Inflate(Resources, XmlReader, IAttributeSet, Resources+Theme).

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to