Compartir a través de


RemoteViews.SetRemoteAdapter Method

Definition

Overloads

SetRemoteAdapter(Int32, Intent)

Equivalent to calling android.widget.AbsListView#setRemoteViewsAdapter(Intent).

SetRemoteAdapter(Int32, RemoteViews+RemoteCollectionItems)

Equivalent to calling android.widget.AbsListView#setRemoteViewsAdapter(Intent).

SetRemoteAdapter(Int32, Int32, Intent)
Obsolete.

Equivalent to calling android.widget.AbsListView#setRemoteViewsAdapter(Intent).

SetRemoteAdapter(Int32, Intent)

Equivalent to calling android.widget.AbsListView#setRemoteViewsAdapter(Intent).

[Android.Runtime.Register("setRemoteAdapter", "(ILandroid/content/Intent;)V", "GetSetRemoteAdapter_ILandroid_content_Intent_Handler")]
public virtual void SetRemoteAdapter (int viewId, Android.Content.Intent? intent);
[<Android.Runtime.Register("setRemoteAdapter", "(ILandroid/content/Intent;)V", "GetSetRemoteAdapter_ILandroid_content_Intent_Handler")>]
abstract member SetRemoteAdapter : int * Android.Content.Intent -> unit
override this.SetRemoteAdapter : int * Android.Content.Intent -> unit

Parameters

viewId
Int32

The id of the AdapterView

intent
Intent

The intent of the service which will be providing data to the RemoteViewsAdapter

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setRemoteAdapter(int, android.content.Intent).

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

SetRemoteAdapter(Int32, RemoteViews+RemoteCollectionItems)

Equivalent to calling android.widget.AbsListView#setRemoteViewsAdapter(Intent).

[Android.Runtime.Register("setRemoteAdapter", "(ILandroid/widget/RemoteViews$RemoteCollectionItems;)V", "GetSetRemoteAdapter_ILandroid_widget_RemoteViews_RemoteCollectionItems_Handler", ApiSince=31)]
public virtual void SetRemoteAdapter (int viewId, Android.Widget.RemoteViews.RemoteCollectionItems items);
[<Android.Runtime.Register("setRemoteAdapter", "(ILandroid/widget/RemoteViews$RemoteCollectionItems;)V", "GetSetRemoteAdapter_ILandroid_widget_RemoteViews_RemoteCollectionItems_Handler", ApiSince=31)>]
abstract member SetRemoteAdapter : int * Android.Widget.RemoteViews.RemoteCollectionItems -> unit
override this.SetRemoteAdapter : int * Android.Widget.RemoteViews.RemoteCollectionItems -> unit

Parameters

viewId
Int32

The id of the AdapterView

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setRemoteAdapter(int, int, android.content.Intent).

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

SetRemoteAdapter(Int32, Int32, Intent)

Caution

deprecated

Equivalent to calling android.widget.AbsListView#setRemoteViewsAdapter(Intent).

[Android.Runtime.Register("setRemoteAdapter", "(IILandroid/content/Intent;)V", "GetSetRemoteAdapter_IILandroid_content_Intent_Handler")]
[System.Obsolete("deprecated")]
public virtual void SetRemoteAdapter (int appWidgetId, int viewId, Android.Content.Intent? intent);
[<Android.Runtime.Register("setRemoteAdapter", "(IILandroid/content/Intent;)V", "GetSetRemoteAdapter_IILandroid_content_Intent_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetRemoteAdapter : int * int * Android.Content.Intent -> unit
override this.SetRemoteAdapter : int * int * Android.Content.Intent -> unit

Parameters

appWidgetId
Int32

The id of the app widget which contains the specified view. (This parameter is ignored in this deprecated method)

viewId
Int32

The id of the AdapterView

intent
Intent

The intent of the service which will be providing data to the RemoteViewsAdapter

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setRemoteAdapter(int, int, android.content.Intent).

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