Udostępnij za pośrednictwem


RemoteViews.OnLoadClass(Class) Method

Definition

Used to restrict the views which can be inflated

[Android.Runtime.Register("onLoadClass", "(Ljava/lang/Class;)Z", "GetOnLoadClass_Ljava_lang_Class_Handler")]
public virtual bool OnLoadClass (Java.Lang.Class? clazz);
[<Android.Runtime.Register("onLoadClass", "(Ljava/lang/Class;)Z", "GetOnLoadClass_Ljava_lang_Class_Handler")>]
abstract member OnLoadClass : Java.Lang.Class -> bool
override this.OnLoadClass : Java.Lang.Class -> bool

Parameters

clazz
Class

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

Returns

Implements

Attributes

Remarks

Java documentation for android.widget.RemoteViews.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