Пример #1
0
        public override View GetView(int position, View convertView, ViewGroup parent)
        {
            if (convertView == null)
            {
                convertView = View.Inflate(parent.Context, Resource.Layout.list_item_control, null);
            }

            ExamplesProvider currentProvider = (ExamplesProvider)this.GetItem(position);
            TextView         controlName     = (TextView)convertView.FindViewById(Resource.Id.txtControlName);

            controlName.Text = currentProvider.ControlName();
            return(convertView);
        }