Hi Everyone,
I am new to xamarin, and i am working with tabbed page with Android and Ios.
There is a requirement to add a tab between the tabbed pages, and upon clinking it need to do some functionalities and get back to home tab.
I am able to do the functionalities and set the home tab back using the following code.
protected override void OnCurrentPageChanged()
{
base.OnCurrentPageChanged();
if (this.CurrentPage != null && this.CurrentPage.ClassId == "some id")
{
...some codes
CurrentPage = Children[0];
}
}
It is loading the home page content, but the selected tab (Highlighting) was not updated.
Can anyone help me out ?