-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
How to update title of the child dynamically #412
Comments
any updates guys? need this urgently |
I want to implement the same thing. @shadowTech827 any solution? |
Hey @vaibhav-varshaaweblabs , For the above : I'am saving a track of the new cell and old cell and wrote a little complex logic to support my use case. When setting up the Tabs:
Then updating the headers whenever needed
In your Controller's IndicatorInfo function
This solution may not be very good as it's a work around for my use case. When come to more tabs it will become complex as tracking the tabs will be too complex (i.e new cell and old cell) P.S if any other solution do let me know. Thanks in advance |
@shadowTech827 do you know how to do it when I have 3 tabs? since I don't know how to update the other cell (not old cell or new cell ) in changeCurrentIndexProgressive |
|
I'm looking for this solution too. I need to update the label on tab when a key on firebase is updated. Anybody can help me? |
Hi!
|
@Bo-Bogdan thank you, this worked! |
This answer did not work for me as the ViewControllers are not initialized yet until the users advances to the page. It works for updates to the first tab, but any subsequent tabs do not have values. So, the first tab has the title var set, but the others just have the initial value. Maybe I am doing something wrong, but I have tried several approaches and all of them seem to have invalid values until the tab is selected. Any help would be appreciated!! |
Thank you @Bo-Bogdan for the answer! Awesome! |
@Bo-Bogdan Thanks for the awesome answer, but the tab width doesn't fit update based on new text, any idea? |
Hi jackylcs86 You found the solution?? |
My solution inspired by @Bo-Bogdan
|
Before submitting issues ...
When submitting issues, please provide the following information to help maintainers to fix the problem faster:
The text was updated successfully, but these errors were encountered: