Hi,
How do I handle the selection in an expandablelistview?  I have tried
using both the setOnItemClickListener  and the
setOnItemSelectedListener and neither seems to fire when I click
either the parent or child level elements.

Thanks,
Bob



SimpleExpandableListAdapter  mAdapter = new SimpleExpandableListAdapter
( ...

  lvE.setAdapter(mAdapter);

       lvE.setOnItemSelectedListener(new OnItemSelectedListener() {
            public void onItemSelected(AdapterView parentView, View
childView, int position, long id) {

                }
                public void onNothingSelected(AdapterView parentView) {

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

Reply via email to