Wednesday, 21 August 2013

Lazy loading issue in UITableView

Lazy loading issue in UITableView

I have implemented lazy loading in my UITableView,
in which, i am downloading images from server, and server contains images
with different sizes..
and displays like this,
: Images getting displayed properly but the problem is UITableViewCell
Text is not getting displayed properly align in single line as you can see
in the image alignment of UITableViewCell Text is not in the single line
Means:Cell 0 to Cell 4 is displayed properly because server contains
images with size of 100*100 for Cell 0 to Cell 4 but alignment of cell 5
and cell 6 is different because server contains image with different size
of 85*85
Is there any way in which i can set Text alignment in single line ??
Thanks in advance.

No comments:

Post a Comment