[android-developers] differentiating single click and long click.

2010-02-18 Thread mmkr
Hi all, I have an array list of a view in my application. The view has both single click and long click listeners. To detect a particular view that is selected I'm using isPressed() for single click listener. Now how can I detect that a particular view is longclicked from the array list of

Re: [android-developers] differentiating single click and long click.

2010-02-18 Thread social hub
can u try using onclickpress() and implement there On Thu, Feb 18, 2010 at 5:47 AM, mmkr manutd...@gmail.com wrote: Hi all, I have an array list of a view in my application. The view has both single click and long click listeners. To detect a particular view that is selected I'm using

Re: [android-developers] differentiating single click and long click.

2010-02-18 Thread social hub
sorry meant onlongpress On Thu, Feb 18, 2010 at 12:36 PM, social hub shubem...@gmail.com wrote: can u try using onclickpress() and implement there On Thu, Feb 18, 2010 at 5:47 AM, mmkr manutd...@gmail.com wrote: Hi all, I have an array list of a view in my application. The view has