ImageSwitcher Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ImageSwitcher(Context) |
Creates a new empty ImageSwitcher. |
ImageSwitcher(Context, IAttributeSet) |
Creates a new empty ImageSwitcher for the given context and with the specified set attributes. |
ImageSwitcher(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
ImageSwitcher(Context)
Creates a new empty 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
Parameters
- context
- Context
the application's environment
- Attributes
Remarks
Creates a new empty ImageSwitcher.
Java documentation for android.widget.ImageSwitcher.ImageSwitcher(android.content.Context)
.
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
ImageSwitcher(Context, IAttributeSet)
Creates a new empty ImageSwitcher for the given context and with the specified set attributes.
[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
Parameters
- context
- Context
the application environment
- attrs
- IAttributeSet
a collection of attributes
- Attributes
Remarks
Creates a new empty ImageSwitcher for the given context and with the specified set attributes.
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
ImageSwitcher(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected ImageSwitcher (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.ImageSwitcher : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.ImageSwitcher
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
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.