partial void OkButton_TouchUpInside(UIButton sender) { List <string> newList = new List <string>(); var count = textFieldList.Count; for (int i = 0; i < count; i++) { if (textFieldList[i].Text != "") { newList.Add(textFieldList[i].Text); } } DataManip.updatePassengerList(newList); }