语言

LayoutInflater.From(Context) 方法

定义

从给定上下文中获取 LayoutInflater。

[Android.Runtime.Register("from", "(Landroid/content/Context;)Landroid/view/LayoutInflater;", "")]
public static Android.Views.LayoutInflater? From(Android.Content.Context? context);
[<Android.Runtime.Register("from", "(Landroid/content/Context;)Landroid/view/LayoutInflater;", "")>]
static member From : Android.Content.Context -> Android.Views.LayoutInflater

参数

context
Context

用于上下文的 Android.Content.Context 值。

返回

操作的结果。

特性

注解

从给定上下文中获取 LayoutInflater。

Java文档android.view.LayoutInflater.from(android.content.Context)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于