Megosztás a következőn keresztül:


LayoutInflater.IFilter.OnLoadClass(Class) Method

Definition

Hook to allow clients of the LayoutInflater to restrict the set of Views that are allowed to be inflated.

[Android.Runtime.Register("onLoadClass", "(Ljava/lang/Class;)Z", "GetOnLoadClass_Ljava_lang_Class_Handler:Android.Views.LayoutInflater/IFilterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool OnLoadClass (Java.Lang.Class? clazz);
[<Android.Runtime.Register("onLoadClass", "(Ljava/lang/Class;)Z", "GetOnLoadClass_Ljava_lang_Class_Handler:Android.Views.LayoutInflater/IFilterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnLoadClass : Java.Lang.Class -> bool

Parameters

clazz
Class

The class object for the View that is about to be inflated

Returns

True if this class is allowed to be inflated, or false otherwise

Attributes

Remarks

Hook to allow clients of the LayoutInflater to restrict the set of Views that are allowed to be inflated.

Java documentation for android.view.LayoutInflater.Filter.onLoadClass(java.lang.Class).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to