I want to create a dialogbox when my item in my list is long clicked but

as you can see in the code new DialogInterface does not accept the
OnItemLongClickListener() method. How can I manage it?

Can you clarify what you are hoping to do here - display a dialog *after* someone long-clicks an item in *another* list somewhere, or show a dialog and when someone long-clicks an item in the *dialog*, you want to do something?

If the latter, can I ask why you want to do this, rather than the standard click that is apparently the expected way to interact with it?

I'm guessing that if you want different behaviour from the default, then you are going to have to build your own dialog based on the Dialog class...


--
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