I need do something (a search in a relatively big ArrayList, then display it in a custom and kinda complex adapter) ONE second after a keypress event, but if another keypress event occur, then I should reset the countdown and wait another second.
Can I do this in Java?
You could use handlers for that: