語言

AdapterView<T> 建構函式

定義

多載

AdapterView<T>(Context)

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public AdapterView(Android.Content.Context context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Widget.AdapterView<'T (requires 'T :> Android.Widget.IAdapter)> : Android.Content.Context -> Android.Widget.AdapterView<'T (requires 'T :> Android.Widget.IAdapter)>

參數

context
Context
屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

AdapterView<T>(Context, IAttributeSet)

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public AdapterView(Android.Content.Context context, Android.Util.IAttributeSet attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Widget.AdapterView<'T (requires 'T :> Android.Widget.IAdapter)> : Android.Content.Context * Android.Util.IAttributeSet -> Android.Widget.AdapterView<'T (requires 'T :> Android.Widget.IAdapter)>

參數

context
Context
屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

AdapterView<T>(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

public AdapterView(IntPtr handle, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.AdapterView<'T (requires 'T :> Android.Widget.IAdapter)> : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.AdapterView<'T (requires 'T :> Android.Widget.IAdapter)>

參數

handle
IntPtr

nativeint

IntPtrA 包含一個 Java 原生介面(JNI)物件參考。

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理handle

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

AdapterView<T>(Context, IAttributeSet, Int32)

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")]
public AdapterView(Android.Content.Context context, Android.Util.IAttributeSet attrs, int defStyle);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")>]
new Android.Widget.AdapterView<'T (requires 'T :> Android.Widget.IAdapter)> : Android.Content.Context * Android.Util.IAttributeSet * int -> Android.Widget.AdapterView<'T (requires 'T :> Android.Widget.IAdapter)>

參數

context
Context
defStyle
Int32
屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於