odedo wrote:The Implementation is as follows:
Whenever the text in the EditText chenges, I start a timer to execute a method (the listener) in X milliseconds (threshold).
If the user continues to modify the content of the EditText before the timer was elapsed, I need to reset the timer and create a new timer with the original threshold provided...
so, at any given point, there is only one thread in addition to the UI thread.
How can it be done using Handlers?
odedo wrote:Hi all,
It took me some time to figure out how to use the handler's delayed messages (there are few examples online)
But I finally managed to update the project and I've uploaded it to google code.
odedo wrote:I'll keep that in mind.
I guess this clarifies the need for this type of event/view.
Hope to keep on contributing.
Users browsing this forum: No registered users and 3 guests