Hi,
sure. I demonstrated this in the online courses but this is a pretty simple 
strategy.

Keep a variable called timer of type UI timer and whenever you get an event:

- If you have a timer just cancel it
- Create a new timer to send the event in 500ms or even 1 second.

That way you create a delay that lets the user keep typing.

-- 
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/73f7696a-cb33-483d-b070-d4952f98c527%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to