Issue Information
-
#000114
-
Issue
Issue Confirmations
-
Yes (0)No (0)
1
Section action detailModelConfigured gets called twice
Posted by
Gerald K.
on 14 January 2016 - 03:43 AM
Dropped in STV version 5.2.1 instead of 5.1.3, now all my custom cells added within
get added twice. Debugged it and found that the detailModelConfigured section action is called twice for only one call to
self.tableViewModel.sectionActions.detailModelConfigured = ^(SCTableViewSection *section, SCTableViewModel *detailModel, NSIndexPath *indexPath) { //(...) SCDoubleButtonCell *contactsButton = [SCDoubleButtonCell cellWithText:@"" boundObject:nil objectBindings:nil nibName:@"DoubleButtonCell"]; [buttonSection addCell:contactsButton]; [detailModel insertSection:buttonSection atIndex:0]; //(...) };
get added twice. Debugged it and found that the detailModelConfigured section action is called twice for only one call to
[blockSelf.accountsModel dispatchEventSelectRowAtIndexPath:indexPath];
0 user(s) are reading this issue
0 members, 0 guests, 0 anonymous users