Drawable.InflateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
InflateAsync(Resources, XmlReader, IAttributeSet)
Runs Inflate(Resources, XmlReader, IAttributeSet) in a task.
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
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)
Runs Inflate(Resources, XmlReader, IAttributeSet, Resources+Theme) in a task.
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
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.