LayoutInflater.CloneInContext(Context) 메서드

정의

원본과 다른 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 개체를 때리는 브랜드를 반환합니다.

특성

설명

원본과 다른 Context를 가리키는 복사본을 사용하여 기존 LayoutInflater 개체의 복사본을 만듭니다. 새 컨텍스트 테마와 함께 사용할 새 LayoutInflater를 만드는 데 사용됩니다 ContextThemeWrapper .

에 대한 Java 설명서입니다 android.view.LayoutInflater.cloneInContext(android.content.Context).

이 페이지의 일부는 만들고 공유하며 에 설명된 용어에 따라 사용되는 작업을 기반으로 수정됩니다.

적용 대상