ViewSwitcher.SetFactory(ViewSwitcher+IViewFactory) Method

Definition

Sets the factory used to create the two views between which the ViewSwitcher will flip.

[Android.Runtime.Register("setFactory", "(Landroid/widget/ViewSwitcher$ViewFactory;)V", "GetSetFactory_Landroid_widget_ViewSwitcher_ViewFactory_Handler")]
public virtual void SetFactory (Android.Widget.ViewSwitcher.IViewFactory? factory);
[<Android.Runtime.Register("setFactory", "(Landroid/widget/ViewSwitcher$ViewFactory;)V", "GetSetFactory_Landroid_widget_ViewSwitcher_ViewFactory_Handler")>]
abstract member SetFactory : Android.Widget.ViewSwitcher.IViewFactory -> unit
override this.SetFactory : Android.Widget.ViewSwitcher.IViewFactory -> unit

Parameters

factory
ViewSwitcher.IViewFactory

the view factory used to generate the switcher's content

Attributes

Remarks

Java documentation for android.widget.ViewSwitcher.setFactory(android.widget.ViewFactory).

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