Hi,
this is a problem I dealt with in the Uber clone code: 
https://www.amazon.com/Create-Uber-Clone-Days-mobile-ebook/dp/B07FRXZRRV/
I didn't search based on a text field event instead I set a timer. If a 
timer already exists you cancel it. Otherwise when it elapses a search is 
sent. 

I also added caching to prevent duplicate requests e.g. if a user deletes a 
character etc. 

-- 
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/203ca32f-a7f1-473d-b649-6d6796bb9772%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to