I've tried putting the ToolbarItem in using XAML as well as creating it in the code behind. The item shows up, but I am unable to change the text on it. I tried using the Name as well as Text property. No matter what I try the text never changes. This is the current attempt at it.
ToolbarItems.Add(new ToolbarItem {
Name = "0",
Order = ToolbarItemOrder.Primary,
Command = new Command(() => Navigation.PushAsync(new Selected()))
});
And my latest attempt at changing the text.
ToolbarItems [0].Name = CodeCount;