forkingdog / forkingdog/UITableView-FDTemplateLayoutCell

通过模型唯一标识缓存行高方法的bug

Open
#296 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
9.9k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

有个bug,使用下面这个(根据模型的唯一标识作为key)方法,当tableView reloadData时,行高还是以前的缓存的值
[tableView fd_heightForCellWithIdentifier:@"XXXCell" cacheByKey:model.articleId configuration:^(XXXCell *cell) {

cell.status = model;
}];

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.