/// <summary> /// Specify a /// <see cref="TabContentFactory">TabContentFactory</see> /// to use to /// create the content of the tab. /// </summary> public virtual android.widget.TabHost.TabSpec setContent(android.widget.TabHost.TabContentFactory contentFactory) { this.mContentStrategy = new android.widget.TabHost.FactoryContentStrategy(this._enclosing , java.lang.CharSequenceProxy.Wrap(this.mTag), contentFactory); return(this); }
public FactoryContentStrategy(TabHost _enclosing, java.lang.CharSequence tag, android.widget.TabHost .TabContentFactory factory) { this._enclosing = _enclosing; this.mTag = tag; this.mFactory = factory; }
public virtual global::android.widget.TabHost.TabSpec setContent(android.widget.TabHost.TabContentFactory arg0) { global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv; if (!IsClrObject) { return(global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::android.widget.TabHost.TabSpec._setContent12017, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as android.widget.TabHost.TabSpec); } else { return(global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::android.widget.TabHost.TabSpec.staticClass, global::android.widget.TabHost.TabSpec._setContent12017, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as android.widget.TabHost.TabSpec); } }
public FactoryContentStrategy(TabHost _enclosing, java.lang.CharSequence tag, android.widget.TabHost .TabContentFactory factory) { this._enclosing = _enclosing; this.mTag = tag; this.mFactory = factory; }