New issue
Advanced search Search tips

Issue 857593 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug



Sign in to add a comment

ListItems should take the cell class in the initializer.

Project Member Reported by kkhorimoto@chromium.org, Jun 28 2018

Issue description

In many instances, subclasses of ListItem set |self.cellClass| within the initializer.  It is against the style guide to reference properties in an initializer, as the behavior of setters and getters may be overridden by subclasses that have not been initialized yet.
 
Cc: gambard@chromium.org rohitrao@chromium.org

Sign in to add a comment