Forum Dorababu Activity

Dorababu

Avatar

Badges

Sixth Anniversary5 LikesFifth AnniversaryFourth AnniversaryThird AnniversaryFirst AnswerSecond AnniversaryName DropperPhotogenic10 CommentsFirst Comment

About

Username
Dorababu
Location
US
Joined
Visits
394
Last Active
Roles
Member
Points
66
Badges
12

Dorababu ✭✭

I am displaying list of images in horizontal scroll dynamically in table cell by using SDWebImage library, but the problem is only last image in the scroll was showing images, remaining or showing Placeholder images. foreach (var contentItem in contents) { if (contentItem.FilePath.Length != 0) { _image.SetImage (new NSUrl (contentItem.FilePath), UIImage.FromBundle ("placeholder.png")); _image.Tag = 1001; //_image = new UIImageView(FromUrl(contentItem.FilePath)) { Tag = 1001 }; UIButton btn = new UIButton (); btn.Frame=new RectangleF(x, 0, 250, _image.Image.CGImage.Height); _imagePath = contentItem.FilePath; _image.Frame = new RectangleF(x, 0, 250, _image.Image.CGImage.Height); x = x + (Convert.ToInt32( Bounds.Width)); scrollwidth = scrollwidth + Convert.ToInt32( Bounds.Width); _scrollView.ContentSize = new SizeF (scrollwidth,150); _scrollView.Add (btn); _scrollView.Add (_image);

About

Username
Dorababu
Location
US
Joined
Visits
394
Last Active
Roles
Member
Points
66
Badges
12

Activity

  • Not much happening here, yet.