LayoutInflater.CloneInContext(Context) メソッド

定義

既存の LayoutInflater オブジェクトのコピーを作成します。コピーは元のコンテキストとは異なるコンテキストを指します。

[Android.Runtime.Register("cloneInContext", "(Landroid/content/Context;)Landroid/view/LayoutInflater;", "GetCloneInContext_Landroid_content_Context_Handler")]
public abstract Android.Views.LayoutInflater? CloneInContext(Android.Content.Context? newContext);
[<Android.Runtime.Register("cloneInContext", "(Landroid/content/Context;)Landroid/view/LayoutInflater;", "GetCloneInContext_Landroid_content_Context_Handler")>]
abstract member CloneInContext : Android.Content.Context -> Android.Views.LayoutInflater

パラメーター

newContext
Context

新しい LayoutInflater に関連付ける新しいコンテキスト。 必要に応じて、元のコンテキストと同じにすることができます。

返品

指定されたコンテキストに関連付けられた新しい LayoutInflater オブジェクトを取得します。

属性

注釈

既存の LayoutInflater オブジェクトのコピーを作成します。コピーは元のコンテキストとは異なるコンテキストを指します。 これは、新しいコンテキスト テーマに合わせて新しい LayoutInflater を作成するために、 ContextThemeWrapper によって使用されます。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象