Пример #1
0
		// Create new views (invoked by the layout manager)
		public override RecyclerView.ViewHolder OnCreateViewHolder (ViewGroup parent, int viewType)
		{	
            // set the view's size, margins, paddings and layout parameters
			var tv = new TextView (parent.Context);
			tv.SetWidth (200);
			tv.Text = "";

			var vh = new MyViewHolder (tv);
			return vh;
		}