Exemplo n.º 1
0
            public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)
            {
                View mMoodleViewList = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.List, parent, false);

                TextView Item = mMoodleViewList.FindViewById <TextView>(Resource.Id.textView);
                ListVew  view = new ListVew(mMoodleViewList)
                {
                    mItem = Item
                };

                return(view);
            }
Exemplo n.º 2
0
            public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position)
            {
                ListVew myHolder = holder as ListVew;

                myHolder.mItem.Text = LIstDataRecycleView[position];
            }