語言

ImageSwitcher 建構函式

定義

多載

名稱 Description
ImageSwitcher(Context)

建立一個新的空 ImageSwitcher。

ImageSwitcher(Context, IAttributeSet)

為給定上下文及指定屬性建立一個新的空 ImageSwitcher。

ImageSwitcher(IntPtr, JniHandleOwnership)

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

ImageSwitcher(Context)

建立一個新的空 ImageSwitcher。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public ImageSwitcher(Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Widget.ImageSwitcher : Android.Content.Context -> Android.Widget.ImageSwitcher

參數

context
Context

應用程式環境

屬性

備註

建立一個新的空 ImageSwitcher。

Java 文件 android.widget.ImageSwitcher.ImageSwitcher(android.content.Context)。

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

適用於

ImageSwitcher(Context, IAttributeSet)

為給定上下文及指定屬性建立一個新的空 ImageSwitcher。

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

參數

context
Context

應用程式環境

attrs
IAttributeSet

屬性集合

屬性

備註

為給定上下文及指定屬性建立一個新的空 ImageSwitcher。

Java 文件 android.widget.ImageSwitcher.ImageSwitcher(android.content.Context, android.util.AttributeSet)。

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

適用於

ImageSwitcher(IntPtr, JniHandleOwnership)

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

protected ImageSwitcher(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.ImageSwitcher : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.ImageSwitcher

參數

javaReference
IntPtr

nativeint

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

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

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

適用於