Skip to content

Not Shimmering All the Table Header view #14

@anandgupadhyay

Description

@anandgupadhyay

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
IMG_0510

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions