protected override UITableViewCell GetOrCreateCellFor (UITableView tableView, NSIndexPath indexPath, object item)
{
var cell= base.GetOrCreateCellFor (tableView, indexPath, item) as DashboardTableCell;
foreach (var view in cell.Subviews) {
if (view is UIButton) {
view.RemoveFromSuperview();
}
}
var btnAdd = new UIButton ();
btnAdd.Frame = new CoreGraphics.CGRect (UIScreen.MainScreen.Bounds.Width-130, 76, 56, 25);
btnAdd.SetTitle ("accept", UIControlState.Normal);
btnAdd.SetTitleColor (UIColor.White, UIControlState.Normal);
btnAdd.BackgroundColor = UIColor.FromRGB (52,35,64);
cell.Add (btnAdd);
btnAdd.TouchUpInside += async (sender, e) =>
{
};
return cell;
}
{
var cell= base.GetOrCreateCellFor (tableView, indexPath, item) as DashboardTableCell;
foreach (var view in cell.Subviews) {
if (view is UIButton) {
view.RemoveFromSuperview();
}
}
var btnAdd = new UIButton ();
btnAdd.Frame = new CoreGraphics.CGRect (UIScreen.MainScreen.Bounds.Width-130, 76, 56, 25);
btnAdd.SetTitle ("accept", UIControlState.Normal);
btnAdd.SetTitleColor (UIColor.White, UIControlState.Normal);
btnAdd.BackgroundColor = UIColor.FromRGB (52,35,64);
cell.Add (btnAdd);
btnAdd.TouchUpInside += async (sender, e) =>
{
};
return cell;
}