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

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

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