共用方式為


AdapterViewAnimator.SetRemoteViewsAdapter(Intent) Method

Definition

Sets up this AdapterViewAnimator to use a remote views adapter which connects to a RemoteViewsService through the specified intent.

[Android.Runtime.Register("setRemoteViewsAdapter", "(Landroid/content/Intent;)V", "GetSetRemoteViewsAdapter_Landroid_content_Intent_Handler")]
public virtual void SetRemoteViewsAdapter (Android.Content.Intent? intent);
[<Android.Runtime.Register("setRemoteViewsAdapter", "(Landroid/content/Intent;)V", "GetSetRemoteViewsAdapter_Landroid_content_Intent_Handler")>]
abstract member SetRemoteViewsAdapter : Android.Content.Intent -> unit
override this.SetRemoteViewsAdapter : Android.Content.Intent -> unit

Parameters

intent
Intent

the intent used to identify the RemoteViewsService for the adapter to connect to.

Attributes

Remarks

Sets up this AdapterViewAnimator to use a remote views adapter which connects to a RemoteViewsService through the specified intent.

Java documentation for android.widget.AdapterViewAnimator.setRemoteViewsAdapter(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