共用方式為


RemoteViewsService.IRemoteViewsFactory.OnDestroy Method

Definition

Called when the last RemoteViewsAdapter that is associated with this factory is unbound.

[Android.Runtime.Register("onDestroy", "()V", "GetOnDestroyHandler:Android.Widget.RemoteViewsService/IRemoteViewsFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnDestroy ();
[<Android.Runtime.Register("onDestroy", "()V", "GetOnDestroyHandler:Android.Widget.RemoteViewsService/IRemoteViewsFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnDestroy : unit -> unit
Attributes

Remarks

Called when the last RemoteViewsAdapter that is associated with this factory is unbound.

Java documentation for android.widget.RemoteViewsService.RemoteViewsFactory.onDestroy().

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