I want to activate a drag and drop function once a user long press the
GridView items.
I am not sure if OnCreateContextMenuListener and handle it
straightforwardly.

Thanks,
Varinag

On Mar 17, 1:20 am, Justin Anderson <[email protected]> wrote:
> Are you just wanting to display a context menu with the long press?  If so
> you can implement OnCreateContextMenuListener and use
> setOnCreateContextMenuListener()
>
> http://developer.android.com/reference/android/view/View.html#setOnCr...
>
> Thanks,
> Justin Anderson
> MagouyaWare Developerhttp://sites.google.com/site/magouyaware
>
> On Wed, Mar 16, 2011 at 12:41 AM, varinag gold <[email protected]>wrote:
>
>
>
> > Any one?
>
> > On Mar 15, 4:38 pm, varinag gold <[email protected]> wrote:
> > > Hello,
>
> > > For a gridview I am able to set the onItemClick and it works fine but
> > > I don't know how should I implement  "onItemLongClick" so that I can
> > > get both type of responses from a gridview items.
>
> > > I googled but could'n get an understandable code where both have been
> > > implemented properly.
>
> > > Please respond if you have done it .
>
> > > Regards,
> > > varinag
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to