public override UITableViewCell GetCell (UITableView tableView, Foundation.NSIndexPath indexPath) { MWC.iOS.UI.CustomElements.SessionCell cell = tableView.DequeueReusableCell(cellId) as MWC.iOS.UI.CustomElements.SessionCell; var favSession = upNext[indexPath.Row]; if (cell == null) cell = new MWC.iOS.UI.CustomElements.SessionCell(UIKit.UITableViewCellStyle.Default , cellId , favSession , favSession.Title, favSession.Room); else cell.UpdateCell (favSession, favSession.Title, favSession.Room); cell.StyleForHome(); return cell; }
public override UITableViewCell GetCell(UITableView tableView, MonoTouch.Foundation.NSIndexPath indexPath) { MWC.iOS.UI.CustomElements.SessionCell cell = tableView.DequeueReusableCell(cellId) as MWC.iOS.UI.CustomElements.SessionCell; var favSession = upNext[indexPath.Row]; if (cell == null) { cell = new MWC.iOS.UI.CustomElements.SessionCell(MonoTouch.UIKit.UITableViewCellStyle.Default , cellId , favSession , favSession.Title, favSession.Room); } else { cell.UpdateCell(favSession, favSession.Title, favSession.Room); } cell.StyleForHome(); return(cell); }