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 に関連付ける新しいコンテキスト。 必要に応じて、元のコンテキストと同じにすることができます。

戻り値

指定した Context に関連付けられた新しい LayoutInflater オブジェクトを取得します。

属性

注釈

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

android.view.LayoutInflater.cloneInContext(android.content.Context)Java ドキュメント。

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

適用対象