I am using a ListView
in which when I long-press the down or up button the list should scroll continuously until the button is released. I have tried with onKeyLongPress
but it's not detecting the long press of my key. Can any one help me out?
Asked
Active
Viewed 424 times
0
-
1are you using a listenerer added on `fragment` or `activity` for listen the event? Can you show us some code? – Manuel Spigolon Mar 18 '14 at 13:00
-
This may answer your question: http://stackoverflow.com/a/7985901/945456. It looks you may need to detect the same key event in the `onKeyPress` handler and start tracking it there first. – Jeff B Mar 18 '14 at 13:02
-
I am designing a set top box where remote keys are used to control over it. – Nik Mar 20 '14 at 04:16