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 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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: