The observer does not receive any event

On Tuesday, August 23, 2016 at 7:52:50 PM UTC+1, Akinniranye James wrote:
>
> Observer observer = (Observable o, Object arg) -> {
>        System.err.println("Got " + arg);
>     };
>     observable.addObserver(observer);
>     
>     button.addActionListener(l -> {
>       Display.getInstance().callSerially(() -> {
>           observable.notifyObservers(new Date());
>       });
>     });
>

-- 
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 [email protected].
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/26fbcc57-1687-4e9f-ac53-6f21db8384f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to