Exemple #1
0
 public virtual void setFactory(android.widget.ViewSwitcher.ViewFactory arg0)
 {
     global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
     if (!IsClrObject)
     {
         @__env.CallVoidMethod(this.JvmHandle, global::android.widget.ViewSwitcher._setFactory12431, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
     }
     else
     {
         @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::android.widget.ViewSwitcher.staticClass, global::android.widget.ViewSwitcher._setFactory12431, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
     }
 }
Exemple #2
0
 /// <summary>
 /// Sets the factory used to create the two views between which the
 /// ViewSwitcher will flip.
 /// </summary>
 /// <remarks>
 /// Sets the factory used to create the two views between which the
 /// ViewSwitcher will flip. Instead of using a factory, you can call
 /// <see cref="addView(android.view.View, int, android.view.ViewGroup.LayoutParams)">addView(android.view.View, int, android.view.ViewGroup.LayoutParams)
 ///     </see>
 /// twice.
 /// </remarks>
 /// <param name="factory">the view factory used to generate the switcher's content</param>
 public virtual void setFactory(android.widget.ViewSwitcher.ViewFactory factory)
 {
     mFactory = factory;
     obtainView();
     obtainView();
 }
Exemple #3
0
		/// <summary>
		/// Sets the factory used to create the two views between which the
		/// ViewSwitcher will flip.
		/// </summary>
		/// <remarks>
		/// Sets the factory used to create the two views between which the
		/// ViewSwitcher will flip. Instead of using a factory, you can call
		/// <see cref="addView(android.view.View, int, android.view.ViewGroup.LayoutParams)">addView(android.view.View, int, android.view.ViewGroup.LayoutParams)
		/// 	</see>
		/// twice.
		/// </remarks>
		/// <param name="factory">the view factory used to generate the switcher's content</param>
		public virtual void setFactory(android.widget.ViewSwitcher.ViewFactory factory)
		{
			mFactory = factory;
			obtainView();
			obtainView();
		}