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

返回

属性

注解

从给定上下文中获取 LayoutInflater。

适用于 . 的 android.view.LayoutInflater.from(android.content.Context)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于