Exemplo n.º 1
0
        public static UITableViewCell ToTableViewCell(QView view)
        {
            var cellView = view.PlatformView;

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

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