tags:

views:

83

answers:

0

I am doing an IME but it would be similar to a long-press of a button in an Activity.

I want to add a functionality when someone long-press the delete key, it deletes a whole word. My issue is that when you long-press it, it delete a whole word, but it doesn't repeat the action which makes sense.

Which would be the best way to solve this? Should I resend the long-press action? Is there a way to know if a key/button stays long-pressed?