コード例 #1
0
        public override WearableGallery.ViewHolder OnCreateViewHolder()
        {
            View view = new View()
            {
                Size         = new Size(360, 360),
                CornerRadius = 180,
            };

            UserGalleryAdapter.ViewHolder viewHolder = new UserGalleryAdapter.ViewHolder(view);
            return(viewHolder);
        }
コード例 #2
0
 public override void OnBindViewHolder(WearableGallery.ViewHolder holder, int position)
 {
     UserGalleryAdapter.ViewHolder vHolder = holder as UserGalleryAdapter.ViewHolder;
     vHolder.imageView.BackgroundImage = imageFileList[position].path;
 }