This repository was archived by the owner on Mar 26, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# ShortcutBadger
4
4
5
- ![ version] ( http://img.shields.io/badge/original-v1.1.21 -brightgreen.svg?style=flat ) [ ![ NuGet Badge] ( https://buildstats.info/nuget/Xamarin.ShortcutBadger )] ( https://www.nuget.org/packages/Xamarin.ShortcutBadger/ ) [ ![ Build] ( https://github.com/wcoder/ShortcutBadger/actions/workflows/pr.yml/badge.svg?branch=master )] ( https://github.com/wcoder/ShortcutBadger/actions/workflows/pr.yml )
5
+ ![ original version] ( http://img.shields.io/badge/original-v1.1.22 -brightgreen.svg?style=flat ) [ ![ NuGet Badge] ( https://buildstats.info/nuget/Xamarin.ShortcutBadger )] ( https://www.nuget.org/packages/Xamarin.ShortcutBadger/ ) [ ![ Build] ( https://github.com/wcoder/ShortcutBadger/actions/workflows/pr.yml/badge.svg?branch=master )] ( https://github.com/wcoder/ShortcutBadger/actions/workflows/pr.yml )
6
6
7
7
Port of [ ShortcutBadger] ( https://github.com/leolin310148/ShortcutBadger ) for Xamarin.Android
8
8
@@ -14,26 +14,26 @@ The ShortcutBadger makes your Android App show the count of unread messages as a
14
14
15
15
NuGet
16
16
17
- ```
17
+ ``` sh
18
18
Install-Package Xamarin.ShortcutBadger
19
19
```
20
20
21
21
Add the codes below:
22
22
23
- ``` csharp
23
+ ``` cs
24
24
int badgeCount = 1 ;
25
25
ShortcutBadger .ApplyCount (context , badgeCount );
26
26
```
27
27
28
28
If you want to remove the badge:
29
29
30
- ``` csharp
30
+ ``` cs
31
31
ShortcutBadger .RemoveCount (context );
32
32
```
33
33
34
34
or
35
35
36
- ``` csharp
36
+ ``` cs
37
37
ShortcutBadger .ApplyCount (context , 0 );
38
38
```
39
39
@@ -143,6 +143,13 @@ ShortcutBadger.ApplyCount(context, 0);
143
143
<br>
144
144
<img src="https://raw.github.com/leolin310148/ShortcutBadger/master/screenshots/ss_launchtime.png"/>
145
145
</td>
146
+ <td width="260" colspan="2">
147
+ <h3>Yandex Launcher</h3>
148
+ <br>
149
+ <img src="https://raw.github.com/leolin310148/ShortcutBadger/master/screenshots/ss_yandex.png"/>
150
+ <br>
151
+ (1.1.23+)
152
+ </td>
146
153
</tr>
147
154
</table >
148
155
@@ -175,6 +182,10 @@ please use version 1.1.0+!
175
182
176
183
## CHANGE LOG
177
184
185
+ 1.1.22:
186
+
187
+ * Improve Oreo support (Thanks to [ AlexStarc] ( https://github.com/AlexStarc ) )
188
+
178
189
1.1.21:
179
190
180
191
* Using binding of native library
You can’t perform that action at this time.
0 commit comments