Open countrdd opened 10 years ago
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 notifications@github.com<mailto:notifications@github.com> Reply-To: mcongrove/ChariTi reply@reply.github.com<mailto:reply@reply.github.com> Date: Wednesday, November 13, 2013 5:16 PM To: mcongrove/ChariTi ChariTi@noreply.github.com<mailto:ChariTi@noreply.github.com> Cc: Dusty Countryman countrdd@leillc.net<mailto:countrdd@leillc.net> Subject: Re: [ChariTi] Is it possible to add a BadgeCount on the tabs? (#195)
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/mcongrove/ChariTi/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.
On Nov 13, 2013, at 5:26 PM, countrdd notifications@github.com wrote:
Thanks again...
I am learning....slowly but learning....
I was amazed to have gotten push notifications working...the only thing I don't like about push is that if the app is in the background and if you hit the app icon. It does not process the queued push notifications.....oh we'll. I guess you can't have it all...
From: Matthew Congrove notifications@github.com<mailto:notifications@github.com> Reply-To: mcongrove/ChariTi reply@reply.github.com<mailto:reply@reply.github.com> Date: Wednesday, November 13, 2013 5:23 PM To: mcongrove/ChariTi ChariTi@noreply.github.com<mailto:ChariTi@noreply.github.com> Cc: Dusty Countryman countrdd@leillc.net<mailto:countrdd@leillc.net> Subject: Re: [ChariTi] Add BadgeCount to tabs/side menu (#195)
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.
Reply to this email directly or view it on GitHubhttps://github.com/mcongrove/ChariTi/issues/195#issuecomment-28440232. — Reply to this email directly or view it on GitHub.
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?