Beispiel #1
0
            public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position)
            {
                StringViewHolder vh = holder as StringViewHolder;

                string fileName = files[position];

                vh.Bind(fileName, fileName);
            }
Beispiel #2
0
            public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position)
            {
                StringViewHolder vh = holder as StringViewHolder;

                switch (position)
                {
                case 0:
                    vh.Bind("Animation Viewer", TagViewer);
                    break;

                case 1:
                    vh.Bind("Animated Typography", TagTypography);
                    break;

                case 2:
                    vh.Bind("Animated App Tutorial", TagAppIntro);
                    break;

                default:
                    break;
                }
            }