示例#1
0
        public static UITableViewCell ToTableViewCell(QView view)
        {
            var cellView = view.PlatformView;

            if (!(cellView is UITableViewCell))
            {
                return(new UITableViewCellAdapter(cellView));
            }
            else
            {
                return((UITableViewCell)cellView);
            }
        }
示例#2
0
        internal static UITableViewHeaderFooterView ToTableViewHeaderFooter(QView view)
        {
            var cellView = view.PlatformView;

            if (!(cellView is UITableViewHeaderFooterView))
            {
                return(new UITableViewHeaderFooterViewAdapter(cellView));
            }
            else
            {
                return((UITableViewHeaderFooterView)cellView);
            }
        }
示例#3
0
 public abstract void FillGroupView(int group, QView section);
示例#4
0
 public abstract void FillChildView(int group, int child, QView item);
示例#5
0
 public abstract void FillView(int pos, QView convertView);
示例#6
0
 public abstract void FillChildView(int groupPosition, int childPosition, QView item);
示例#7
0
 public UITableViewHeaderFooterViewAdapter(UIView cellView)
 {
     _view = new QView(cellView);
     AddSubview(cellView);
 }
示例#8
0
 public UITableViewCellAdapter(UIView cellView)
 {
     _view = new QView(cellView);
     ContentView.AddSubview(cellView);
     BackgroundColor = CellView.BackgroundColor;
 }