You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought the basic idea of non reusable generator was not to update the cell configuration in generate(tableView: UITableView, for indexPath: IndexPath) method , but in all NonReusableGenerators we have this. And now we have to update generator model everytime when we change smth in that cell to prevent reset data while scrolling, i don't think it should be like this.
How about removing it ?
The text was updated successfully, but these errors were encountered:
In last year we added comment to nonReusable generator.
/// Term non-reusable means that we are creating cell manually with constructor type defined in ConstractableItem.
/// In other words this generator will not use `tableView.deqeueReusableCell
This means that nonReusable generator keep reference between one concrete generator and one concrete cell created manually from xib. One to one forever.
But some contributors have opinion that this cell will be configured only once.
This is mistake.
I thought the basic idea of non reusable generator was not to update the cell configuration in generate(tableView: UITableView, for indexPath: IndexPath) method , but in all NonReusableGenerators we have this. And now we have to update generator model everytime when we change smth in that cell to prevent reset data while scrolling, i don't think it should be like this.
How about removing it ?
The text was updated successfully, but these errors were encountered: