Beispiel #1
0
        public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)
        {
            View v = LayoutInflater.From(parent.Context).Inflate(
                Resource.Layout.contentpage_pbogotopage_resultitem, parent, false);

            v.LayoutParameters = new LinearLayout.LayoutParams(
                ViewGroup.LayoutParams.MatchParent, ViewGroup.LayoutParams.WrapContent);
            var vh = new PboGoToResultListViewHolder(v, this);

            return(vh);
        }
 public OnItemClickListener(PboGoToResultListViewHolder vh)
 {
     this.vh = vh;
 }