Ejemplo n.º 1
0
 private View GetCommentTemplate(int position, Comment comment, View convertView)
 {
     convertView = LayoutInflater.Inflate(Android.Resource.Layout.SimpleListItem2, null);
     convertView.FindViewById<TextView>(Android.Resource.Id.Text1).Text = comment.Text;
     convertView.FindViewById<TextView>(Android.Resource.Id.Text2).Text = comment.InputDate.ToString();
     return convertView;
 }
Ejemplo n.º 2
0
 private void BindCommentCell(UITableViewCell cell, Comment comment, NSIndexPath path)
 {
     cell.TextLabel.Text = comment.Text;
     cell.DetailTextLabel.Text = comment.InputDate.ToString();
 }