-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I have created Custom Label and Button and confirmed to ShimmeringViewProtocol
Like this
class MyLabel : UILabel, ShimmeringViewProtocol{... class MyTableView: UIButton, ShimmeringViewProtocol{...
and in table Header used these label and Button and then in display method
func tableView(_ tableView: UITableView, willDisplayHeaderView view: UIView, forSection section: Int){ tableView.setTemplateWithSubviews(isLoading, viewBackgroundColor: .gray) }
and once I get the data I simply turn the boolean off and reload the. table
self?.isLoading = false self?.Table.reloadData()
Still Animation is appearing for first 2 Sections headers only
Metadata
Metadata
Assignees
Labels
No labels