You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to show badge on cart tab..on the other side i want to show root page on tab clicked or reselected..I am using your plugin to show badge on tab but when i use renderer to show root page on tab reselected then badge is not visible. I am finding the solution because i want both of these functionalities in my app..
I am using the following renderer to navigate to root page when i reselect tab:
I want to show badge on cart tab..on the other side i want to show root page on tab clicked or reselected..I am using your plugin to show badge on tab but when i use renderer to show root page on tab reselected then badge is not visible. I am finding the solution because i want both of these functionalities in my app..
I am using the following renderer to navigate to root page when i reselect tab:
[assembly: ExportRenderer(typeof(TabPage), typeof(MainPageRenderer))]
namespace MyProject.Droid.Renderers
{
public class MainPageRenderer : TabbedPageRenderer, TabLayout.IOnTabSelectedListener
{
private TabPage _page;
protected override void OnElementChanged(ElementChangedEventArgs e)
{
base.OnElementChanged(e);
if (e.NewElement != null)
{
_page = (TabPage)e.NewElement;
}
else
{
_page = (TabPage)e.OldElement;
}
}
The text was updated successfully, but these errors were encountered: