Langue

LayoutInflater.From(Context) Méthode

Définition

Obtient le LayoutInflater à partir du contexte donné.

[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

Paramètres

context
Context

Valeur Android.Content.Context utilisée pour le contexte.

Retours

Résultat de l’opération.

Attributs

Remarques

Obtient le LayoutInflater à partir du contexte donné.

Java documentation pour android.view.LayoutInflater.from(android.content.Context).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à