6
6
7
7
## Support & Limitations
8
8
9
- | Feature / Availability | Xamarin.Android\* | Xamarin.iOS | UWP\*\*\* |
10
- | ------------- | ----------- | ----------- | ----------- |
11
- | Bindable Badge Text | ✓ | ✓ (iOS >=8.0) | ✓ |
12
- | Bindable Badge Color | ✓ | ✓ (iOS >= 10.0) | ✓ |
13
- | Bindable Badge Text Color | ✓ | ✓ (iOS >= 10.0) | ✓ |
14
- | Bindable Badge Font | ✓\*\* | ✓ \*\* (iOS >= 10.0) | ✓ |
15
- | Dynamic tab add/removal | ✓ | On overflow, 'More' / '...' menu don't have badges...yet. | ✓ |
9
+ | Feature / Availability | Xamarin.Android (1) | Xamarin.iOS | UWP (2) | MacOS (3) |
10
+ | ------------- | ----------- | ----------- | ----------- | ----------- |
11
+ | Bindable Badge Text | ✓ | ✓ (iOS >=8.0) | ✓ | ✓ |
12
+ | Bindable Badge Color | ✓ | ✓ (iOS >= 10.0) | ✓ | ✓ |
13
+ | Bindable Badge Text Color | ✓ | ✓ (iOS >= 10.0) | ✓ | ✓ |
14
+ | Bindable Badge Font | ✓\* | ✓ \* (iOS >= 10.0) | ✓ | ✓ |
15
+ | Dynamic tab add/removal | ✓ | On overflow, 'More' / '...' menu don't have badges. | ✓ | ✓ |
16
16
17
17
\* ** Caution** : For Xamarin.Forms Android make sure to use AppCompat. I.e.inherit from FormsAppCompatActivity
18
- \* Min Android ** API level 15**
19
18
20
- \*\* ** Font restrictions** : able to bind font attributes and family but not size
19
+ \* (1) Min Android ** API level 15**
20
+
21
+ \* (2) ** Min UWP version** : Win 10 November Update.
21
22
22
- \*\*\* ** Min UWP version** : Win 10 November Update.
23
+ \* (3) ** MacOS version** : Depends on Xamarin Forms 2.3.5-pre6 at the moment.
24
+
25
+ \*\* ** Font restrictions** : able to bind font attributes and family but not size
23
26
24
27
## Installation
25
28
@@ -31,20 +34,12 @@ Install-Package Plugin.Badge
31
34
// or pre-release
32
35
Install-Package Plugin.Badge -Pre
33
36
```
34
- [ ![ NuGet] ( https://img.shields.io/nuget/v/Plugin.Badge.svg?label=NuGet )] ( https://www.nuget.org/packages/Plugin.Badge ) [ ![ NuGet Beta] (https://img.shields.io/nuget/vpre/Plugin.Badge.svg?label=NuGet Beta)] ( https://www.nuget.org/packages/Plugin.Badge )
35
-
37
+ [ ![ NuGet] ( https://img.shields.io/nuget/v/Plugin.Badge.svg?label=NuGet&style=flat-square )] ( https://www.nuget.org/packages/Plugin.Badge ) [ ![ NuGet Beta] ( https://img.shields.io/nuget/vpre/Plugin.Badge.svg?label=NuGet%20Beta&style=flat-square )] ( https://www.nuget.org/packages/Plugin.Badge )
36
38
37
- ### iOS
38
-
39
- You have to register the custom renderer. I usually put this in the AssemblyInfo.cs file of my iOS csproj.
40
-
41
- ```
42
- [assembly: ExportRenderer(typeof(TabbedPage), typeof(BadgedTabbedPageRenderer))]
43
- ```
44
39
45
- ### Android
40
+ ### iOS, Android, UWP, MacOS
46
41
47
- You have to register the custom renderer. I usually put this in the AssemblyInfo.cs file of my Android csproj.
42
+ You have to register the custom renderer. I usually put this in the AssemblyInfo.cs file of my Platform specific project (iOS, Android, UWP, MacOS) csproj.
48
43
49
44
```
50
45
[assembly: ExportRenderer(typeof(TabbedPage), typeof(BadgedTabbedPageRenderer))]
0 commit comments