Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Android tab bar badge

$
0
0

Hi,

I looked around the www for a good solution to create a badge for the android tab bar.

First of all:
If I create a custom renderer for the Tabbar with no function, the Tab bar is not longer available. The tab bar ist hidden or removed, I dont know why?

using System;
using Xamarin.Forms;
using System.Collections.Generic;
using Xamarin.Forms.Platform.Android;


[assembly: ExportRenderer(typeof(TabbedPage), typeof(TC.Android.Renderer.ExtendedTabbedPage))]
namespace TC.Android.Renderer
{
    public class ExtendedTabbedPage : TabbedRenderer
    {
        public static void TC_Init()
        {
            Console.WriteLine("-- Init ExtendedTabbedPage");
            return;
        }
    }
}

But I also need a solution for badge in the tab bar like this:
https://github.com/xabre/xamarin-forms-tab-badge

But in this package, I got errors. Look at this issue: https://github.com/xabre/xamarin-forms-tab-badge/issues/33

Has anybody any idea?

Thank you so much!


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>