For UITableView the skeleton is added/removed to visibleCells, visibleSectionHeaders & visibleSectionFooters, however when hideSkeleton is called with reloadDataAfter: true this can leave some cells with the skeleton still active because visibleCells may not contain the same number of cells as when showSkeleton was called (i.e. when the estimatedRowHeight is significantly less than the actual row height). Changed to add/remove skeleton to all TableView subviews. Fixes #399.
Fix automaticNumberOfRows reference error from PR #401.
Requirements (place an x in each of the [ ])
[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
Summary
For UITableView the skeleton is added/removed to
visibleCells
,visibleSectionHeaders
&visibleSectionFooters
, however whenhideSkeleton
is called withreloadDataAfter: true
this can leave some cells with the skeleton still active becausevisibleCells
may not contain the same number of cells as whenshowSkeleton
was called (i.e. when the estimatedRowHeight is significantly less than the actual row height). Changed to add/remove skeleton to all TableView subviews. Fixes #399.Fix
automaticNumberOfRows
reference error from PR #401.Requirements (place an
x
in each of the[ ]
)