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); }
public override void OnBindViewHolder(WearableGallery.ViewHolder holder, int position) { UserGalleryAdapter.ViewHolder vHolder = holder as UserGalleryAdapter.ViewHolder; vHolder.imageView.BackgroundImage = imageFileList[position].path; }