From 0ecb73653d14f4e196854e348c626270ce47d235 Mon Sep 17 00:00:00 2001 From: Leo Lin Date: Fri, 8 Jan 2016 01:47:18 +0800 Subject: [PATCH] Update README.md --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ab6a8b6..3438e87 100644 --- a/README.md +++ b/README.md @@ -91,14 +91,17 @@ USAGE
3. Add the codes below: int badgeCount = 1; - ShortcutBadger.applyCount(context, badgeCount); + ShortcutBadger.applyCount(context, badgeCount); //for 1.1.4 + ShortcutBadger.with(getApplicationContext()).count(badgeCount); //for 1.1.3
4. If you want to remove the badge - ShortcutBadger.removeCount(context); + ShortcutBadger.removeCount(context); //for 1.1.4 + ShortcutBadger.with(getApplicationContext()).remove(); //for 1.1.3 or - ShortcutBadger.applyCount(context, 0); + ShortcutBadger.applyCount(context, 0); //for 1.1.4 + ShortcutBadger.with(getApplicationContext()).count(0); //for 1.1.3