[codenameone-discussions] Re: hide notification

2016-10-15 Thread howudodat1
I will look into UITimer.  What I have done for now is in showListener I 
create a timer.  In the timer event i check if 
(Display.getInstance().getCurrent() != this) and kill the timer.  That 
seems to work so far.

On Saturday, October 15, 2016 at 7:47:24 PM UTC-7, Shai Almog wrote:
>
> If you use UITimer it will not invoke if the form is hidden. However it 
> will keep counting down so it might invoke immediately if the form is shown.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/c4fc5804-f70f-4fa9-8fc1-a274a06cc7e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: hide notification

2016-10-15 Thread Shai Almog
If you use UITimer it will not invoke if the form is hidden. However it 
will keep counting down so it might invoke immediately if the form is shown.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/ba0c5dc8-7d79-4e90-8919-14cf4c9d8236%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.