Questions tagged [badge]

A badge is a concise visual indication of something important to the user.

A badge is an unobtrusive notification in an application, indicating to the user a count of actionable objects that the user may wish to attend to. For example, number of new emails or unread messages.

A badge is not to be used as an urgent message requiring immediate user action, but rather assists in program flow, giving the user information about another part of the application that is not currently in focus.

867 questions
0
votes
0 answers

How to trigger a notification badge in swiftui

I want to create a notification center similar to that on instagram & facebook. The only difference is that the update will be coming from Contentful. So its a simple announcements view. So I want everytime I add a new announcement from Contentful a…
0
votes
2 answers

Objective C: How to check for unread messages (number to be displayed as badge)

I have a tableView storing a list of notifications (retrieved from server). How can I check if the particular notification has been viewed by the user? I was thinking of 1) storing the notification ids in NSUserdefaults and 2) check the retrieved…
Zhen
  • 12,361
  • 38
  • 122
  • 199
0
votes
0 answers

How to send the total number of new notifications inside the app to the icon

The app receives notifications via FirebaseCloudMessaging. Notifications arrive normally. I want to set a counter and send the total number of new notifications to the icon inside the app. There is a lot of information about icons on the Internet, I…
0
votes
0 answers

Badges do not work in pinned website on Windows 10

I am setting up my website https://simbiat.ru to have proper tags and webconfig to be used with pinned websites, but I've ran into trouble: pinned site does not show badges or notifications, even though linked to proper (although test) xml files…
Simbiat
  • 339
  • 2
  • 12
0
votes
0 answers

Unable to set badge on action bar

I am trying to put badge count on cart icon in action bar but app is crashing and showing error. Fatal Exception: java.lang.NullPointerException Attempt to invoke virtual method 'android.view.View android.view.View.findViewById(int)' on a null…
Digvijay
  • 2,887
  • 3
  • 36
  • 86
0
votes
1 answer

using badge with bootstrap 4 in asp.net core 3.1 asynchronous programing

I have used badge in asp.net core 3.1 without Async method this is my code in service public int GetNotSeenContact() { return _context.Contacts.Where(s => s.Seen == false).Count(); } and this is call in scope layout : public int…
0
votes
1 answer

proper way to show badge on internal GitLab Server

We have a company GitLab server that can't be accessed outside of the company network. Is there any to show badges in that instance like shield.io does?
Anwar Hossain
  • 654
  • 6
  • 21
0
votes
1 answer

How to replace() two characters at a time using Filters and how to have a separate Badge in the context of VueJS

I am displaying the text that is coming from the API as a badge and I want to filter certain things from it and I want to display the badge for each word that comes from the API. Here is the code:
app_er
  • 87
  • 10
0
votes
2 answers

When making a shield.io badge, is there a way to find the right way to reference a logo name?

I just started trying to use shield.io badges today. I'm a little confused. When I needed to use the C++ logo in a label I used the following…
Luís Peres
  • 79
  • 10
0
votes
1 answer

flutter: No named parameter with the name 'clipBehavior', clipBehavior: Clip.none

I am trying to add a notifications counter badge with using badges package with flutter but the project does not compile as soon as I add the below code. I'm using flutter v1.17.4. Badge( badgeColor: Colors.deepOrangeAccent, toAnimate: true, …
tharakadil95
  • 13
  • 1
  • 6
0
votes
1 answer

How to change badge number in bottom navigation of main activity from fragment?

I want to change or set badge number from fragment but i have no idea how to do it here is my code :- protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Toolbar…
0
votes
1 answer

How to get the API link that contains the bestseller badges by python?

I am having a task to get the data of the bestseller badges in this link https://www.real.de/item/search/?search_value=lattenrost&valueKey_search_value= . I tried to find the API link in the Web Developer Tool (XHR tab) however still havent managed…
mht
  • 133
  • 1
  • 2
  • 9
0
votes
1 answer

How can i make a container with this kind of decoration using Flutter

Please see image. I'm not so much concerned with the child of the container. Just the decoration. I'm trying to achieve the yellow background and the check icon that's at the top right corner. So far i've only being able to make the container and…
0
votes
1 answer

Is there any way to align a badge in flutter to the extreme right?

Code i used: Badge( badgeColor: CUSTOM_GREEN, shape: BadgeShape.square, borderRadius: 20, toAnimate: false, …
User1234
  • 35
  • 6
0
votes
0 answers

Error in file CrossGeeks / ToolbarItemBadgeSample / BarButtonItemExtensions in Xamarin IOS, + Add Badge issue In IOS

Error hits this file . The app closes . This happens when i open the app for the second time . If the app is already logged in and the master page is opened directly on which the badge is present. Also add badge does not update the badge in IOS ,…