Android.Widget.ViewSwitcher.SetFactory Method
Sets the factory used to create the two views between which the ViewSwitcher will flip.

Syntax

[Android.Runtime.Register("setFactory", "(Landroid/widget/ViewSwitcher$ViewFactory;)V", "GetSetFactory_Landroid_widget_ViewSwitcher_ViewFactory_Handler")]
public virtual void SetFactory (ViewSwitcher.IViewFactory factory)

Parameters

factory
the view factory used to generate the switcher's content

Remarks

Sets the factory used to create the two views between which the ViewSwitcher will flip. Instead of using a factory, you can call ViewSwitcher.addView(android.view.View, int, android.view.ViewGroup.LayoutParams) twice.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1