public void Update(MultilineEntryElement element, UITableView tableView){ _element = element; if (_entry==null){ PrepareEntry(tableView); } _entry.Text = element.Value ?? ""; _entry.SecureTextEntry = element.IsPassword; _entry.AutocapitalizationType = element.AutoCapitalize; _entry.KeyboardType = element.KeyboardType; TextLabel.Text = element.Caption; tableView.BeginUpdates(); tableView.EndUpdates(); }
public override void PrepareForReuse () { base.PrepareForReuse (); _element = null; }