feat:add nativeChannel on Android

This commit is contained in:
pengfei.zhou
2019-11-18 16:33:23 +08:00
parent 7d0ecfee52
commit 99c994b11b
7 changed files with 139 additions and 3 deletions

View File

@@ -150,4 +150,17 @@ - (void)callItem:(NSUInteger)position height:(CGFloat)height {
[self.view reloadRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationNone];
}];
}
- (DoricViewNode *)subNodeWithViewId:(NSString *)viewId {
for (UITableViewCell *tableViewCell in self.view.visibleCells) {
if ([tableViewCell isKindOfClass:[DoricTableViewCell class]]) {
DoricListItemNode *node = ((DoricTableViewCell *) tableViewCell).doricListItemNode;
if ([viewId isEqualToString:node.viewId]) {
return node;
}
}
}
return nil;
}
@end