次の方法で共有


ResourceCursorAdapter.SetViewResource(Int32) Method

Definition

Sets the layout resource of the item views.

[Android.Runtime.Register("setViewResource", "(I)V", "GetSetViewResource_IHandler")]
public virtual void SetViewResource (int layout);
[<Android.Runtime.Register("setViewResource", "(I)V", "GetSetViewResource_IHandler")>]
abstract member SetViewResource : int -> unit
override this.SetViewResource : int -> unit

Parameters

layout
Int32

the layout resources used to create item views

Attributes

Remarks

Sets the layout resource of the item views.

Java documentation for android.widget.ResourceCursorAdapter.setViewResource(int).

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