public static UITableViewCell ToTableViewCell(QView view) { var cellView = view.PlatformView; if (!(cellView is UITableViewCell)) { return(new UITableViewCellAdapter(cellView)); } else { return((UITableViewCell)cellView); } }
internal static UITableViewHeaderFooterView ToTableViewHeaderFooter(QView view) { var cellView = view.PlatformView; if (!(cellView is UITableViewHeaderFooterView)) { return(new UITableViewHeaderFooterViewAdapter(cellView)); } else { return((UITableViewHeaderFooterView)cellView); } }
public abstract void FillGroupView(int group, QView section);
public abstract void FillChildView(int group, int child, QView item);
public abstract void FillView(int pos, QView convertView);
public abstract void FillChildView(int groupPosition, int childPosition, QView item);
public UITableViewHeaderFooterViewAdapter(UIView cellView) { _view = new QView(cellView); AddSubview(cellView); }
public UITableViewCellAdapter(UIView cellView) { _view = new QView(cellView); ContentView.AddSubview(cellView); BackgroundColor = CellView.BackgroundColor; }