Udostępnij za pośrednictwem


RemoteViewsService.IRemoteViewsFactory.OnCreate Method

Definition

Called when your factory is first constructed.

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

Remarks

Called when your factory is first constructed. The same factory may be shared across multiple RemoteViewAdapters depending on the intent passed.

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

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