-
Notifications
You must be signed in to change notification settings - Fork 74
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
[Legacy] Bagde icon does not work when the tabbed page is not the first page (main page) #43
Comments
I have continued to debugged 👍 When, the tabbedPage is the main page :
When the TabbedPage is in the secondpage :
Why ? |
I have found. the ScollingTabContainerView is not here because the tabbedPage is not visible. i have juste add a delay on the LegacyBadgedTabbedRenderer class |
@viviFrom13 Nice find, could you check if a shorter delay works (200ms)? Or maybe another page lifecycle event which can be used? |
The delay depends of the loading time of the window. For my own application i need a delay of 3000 :( If i tried to use another event like focused by i never found someting that working. Do you have another idea ? |
@viviFrom13 is this still an issue? |
I have modify your sample to first start on a page with a button.
When we click on the bouton it launches the tabbed page
In this case, the tab badge are not visibles.
In this case, the _tabLinearLayout have not children.
I am using the case legacy because my application is inherit form FormsApplicationActivity. and launch the projet Plugin.Badge.Sample.Droid.Legacy
How can we resolve it ?
I have debugged a little and the issue seems to be in
_tabLinearLayout = _tabLinearLayout ?? (rootGroup.GetChildAt(i) as ViewGroup)?.FindChildOfType()?.FindChildOfType();
the _tabLinearLayout never has children !! Why ???
Thank for your anser .
I have attached the sample android i have modified and snapshots of the screens
Sample.zip
The text was updated successfully, but these errors were encountered: