Android Guides | Samples

Android.Widget.RemoteViewsService Class

The service to be connected to for a remote adapter to request RemoteViews.

See Also: RemoteViewsService

Syntax

[Android.Runtime.Register("android/widget/RemoteViewsService", DoNotGenerateAcw=true)]
public abstract class RemoteViewsService : Service

Remarks

The service to be connected to for a remote adapter to request RemoteViews. Users should extend the RemoteViewsService to provide the appropriate RemoteViewsFactory's used to populate the remote collection view (ListView, GridView, etc).

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11

The members of Android.Widget.RemoteViewsService are listed below.

See Also: Service

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

override
OnBind(Intent) : IBinder
Return the communication channel to the service.
abstract
OnGetViewFactory(Intent) : RemoteViewsService+IRemoteViewsFactory
To be implemented by the derived service to generate appropriate factories for the data.