-
Notifications
You must be signed in to change notification settings - Fork 85
Add BadgeCount to tabs/side menu #195
Comments
Not at this time. Currently, the way content downloading works, all content is considered 'new' and therefore every tab would have a badge count of 20. Is there some specific reason other than the one I mention you want this feature? |
Ah, I see. As I said, right now we have no support for this. I can add it to the backlog, or if you want to tackle adding it to the side menu and tab bar, please submit a pull request so others can benefit :) |
Thanks. I am looking at it...I am kinda new to Alloy... So just trying to figure out where I need to add the badgeCount: property...to the widget. But if I get it working I will let you know. BTW...the project I am working on is http://reeldealnetwork.com - GPS based marketing... From: Matthew Congrove <[email protected]mailto:[email protected]> Ah, I see. As I said, right now we have no support for this. I can add it to the backlog, or if you want to tackle adding it to the side menu and tab bar, please submit a pull request so others can benefit :) Reply to this email directly or view it on GitHubhttps://github.com//issues/195#issuecomment-28439649. |
Unfortunately, for better control, we used all custom components, so we're not using an actual tab bar; therefore, badgeCount isn't a property. It would have to be done as a custom image/label that is added to the tab bar. I'll bump this up to the 1.2.1 release and try to get it done for you ASAP. |
One of the ways that I have gotten around that limitation is to create a message "stream" in a json file. Then you can populate lists or do a bunch of things when the app comes into focus. If a push went out just pull the last item from your stream. Maybe not applicable to your solution but it would be dead simple to do with json or mongodb.
|
No description provided.
The text was updated successfully, but these errors were encountered: