rounak / RJImageLoader

A recreation of the image loader animation created by Michael Villar for iOS
MIT License
833 stars 89 forks source link

every time loading in tableview cell? #9

Open bintu1234 opened 8 years ago

bintu1234 commented 8 years ago

Hi I am working with the RJImage Loader using podfile.working fine. I am using in Tableview Cell for image loading but when i scroll then every time it is showing loader and tableview not moving smoothly below code i am using in cellForRowAtIndexPath

_imageview =cell.mediaImageView; [_imageview startLoaderWithTintColor:[UIColor redColor]]; // [self indicatore]; __weak typeof(self)weakSelf = self; urlString = messageString; [weakSelf.imageview sd_setImageWithURL:[NSURL URLWithString:urlString] placeholderImage:nil options:SDWebImageRetryFailed | SDWebImageRefreshCached progress:^(NSInteger receivedSize, NSInteger expectedSize) { [weakSelf.imageview updateImageDownloadProgress:(CGFloat)receivedSize/expectedSize]; } completed:^(UIImage image, NSError error, SDImageCacheType cacheType, NSURL *imageURL) { [weakSelf.imageview reveal]; }];

where i am missing please help me