Skip to content

[Legacy] Bagde icon does not work when the tabbed page is not the first page (main page) #43

@viviFrom13

Description

@viviFrom13

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

screenshot_20180327-090111
screenshot_20180327-090207

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions