Android Question ShortcutBadger V1.5

Declan

Well-Known Member
Licensed User
I am using V1.5.
Working great on Huawei and Samsung Note 10.
The app icon on the Homepage has a red dot with the number displayed.
I am loading the value from a database table "count".
This works great and the number in the red dot increases/decreases as expected.
However, I cannot get rid of the "1" displayed in the red dot - I count = 0, the red dot displays 1.
I have tried "badge.removeCount" and "badge.applyCount(0): but always "1" remains.
 

DonManfred

Expert
Licensed User
I still not understand. Describe it MORE clearly please.
 
Upvote 0

Declan

Well-Known Member
Licensed User
I have tried "badge.removeCount" and "badge.applyCount(0): but always "1" remains.
No matter what I do, I cannot disable the displaying of the count display
The attached pic shows this and is always displayed as such (unless the applyCount() is greater than 1 - then the correct "count" is displayed)
 

Attachments

  • ShortcutBadger.png
    ShortcutBadger.png
    60.4 KB · Views: 91
Upvote 0

Sandman

Well-Known Member
Licensed User
This will probably not work, but I'm curious if this helps at all. First set a value (not same value as is already displayed!), then set a zero:
B4X:
badge.applyCount(9)
badge.applyCount(0)
 
Upvote 0
Top