Skip to content

Badge does not bind correctly if starting off with a <null> value #78

@morbidcamel101

Description

@morbidcamel101

In my scenario I have a few tabs that I want to slap badges on, but only after I have fetched the data using an asynchronous dependency service. I fetch the data and then set the bindatbe property to something like this
_viewModel.HomeBadgeText = items.Count.ToString(); with HomeBadgeText being my binding in the XAML file. If I do this with an initial <null> value the badge never updates, HOWEVER, if I set the initial value of HomeBadgeText to '0' and then update it after the data has been fetched the binding works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpr welcomeA pull request adressing the issue is welcome

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions