Android.NUnitLite.UI.OptionsActivity.OnCreate C# (CSharp) Method

OnCreate() protected method

protected OnCreate ( Bundle bundle ) : void
bundle Bundle
return void
		protected override void OnCreate (Bundle bundle)
		{
			Options options = AndroidRunner.Runner.Options;
			remote = new BooleanElement ("Remote Server", options.EnableNetwork);
			host_name = new EntryElement ("HostName", options.HostName);
			host_port = new EntryElement ("Port", options.HostPort.ToString ()) { Numeric = true };
			
			Root = new RootElement ("Options") {
				new Section () { remote, host_name, host_port }
			};
			
			base.OnCreate (bundle);
		}