Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index out of range #571

Open
Faridka0 opened this issue Apr 12, 2021 · 1 comment
Open

Index out of range #571

Faridka0 opened this issue Apr 12, 2021 · 1 comment

Comments

@Faridka0
Copy link

reloadData(at: 0 ... items.count, context: .full)

@xdien
Copy link

xdien commented Jul 4, 2023

I also have the same problem. After I call the function bar.layout.setNeedsReload(). The problem here is that if the context is .full then the new item will be inserted. but actually i just want to rerender the layout after i set the title of button(tab), don't use the bar.reloadData function because it will automatically switch to the first tab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants