Hallo!

I want to receive a longpress event on my ExtandableList. The only way
I found is to implement an OnItemLongClickListener and set it by using
ExpandableListView view = this.getExpandableListView();
view.setOnItemLongClickListener(onItemLongClickListener );
in my ExpandableListActivity.

How ever in the OnItemLongClickListener I only have the following
method
public boolean onItemLongClick(AdapterView<?> parent, View view, int
position, long id);

How do I know, on which child in which group the user pressed? Because
the position depends on how many groups are expanded...

Is there something like the ExpandableListView.OnChildClickListener
for longclicks, where group and child positions are passed?
public boolean onChildClick(ExpandableListView parent, View view, int
groupPosition, int childPosition , long id) .

Or how can I get this information (group and child position) of a long
click?

Thanks in advance
Patrick

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