RETableViewManager icon indicating copy to clipboard operation
RETableViewManager copied to clipboard

itemWithImageNamed don't show image , also custom item & cell

Open EarthMass opened this issue 8 years ago • 4 comments

itemWithImageNamed don't show image , also custom item & cell, Like Demo in "ListImageCell"

  • (void)cellWillAppear { [super cellWillAppear]; [self.pictureView setImage:[UIImage imageNamed:self.imageItem.imageName]]; } but, self.imageItem.imageName is nil,I don't konw what happened!

EarthMass avatar Aug 29 '16 07:08 EarthMass

i also find this problem ,do you solve it

EasonGaoDevelop avatar Oct 11 '16 01:10 EasonGaoDevelop

i have the same problem, how to fix?

wuzer avatar Feb 22 '17 06:02 wuzer

  • (void)cellWillAppear { [super cellWillAppear];

    self.myCustomViewItem = (MyCustomViewItem *)self.item; you must,assgin self.item value to customViewItem before use customViewItem. Like this , it work good!!! 英语不好见谅啊

EarthMass avatar Feb 22 '17 08:02 EarthMass

this commit sucks https://github.com/romaonthego/RETableViewManager/commit/48b16f0dee7d4ff68301e675b9061fba0a58d625

wujichao avatar Nov 28 '18 15:11 wujichao