aaazalea
aaazalea

Reputation: 7920

Do something on tap and hold with a TextView

I know I can add an onClick to my TextView if I want to listen for single taps. Can I do something similar for tap-and-holds?

Upvotes: 0

Views: 447

Answers (1)

Srdjan Grubor
Srdjan Grubor

Reputation: 2675

Use the onLongClick() method see here

Upvotes: 2

Related Questions