Hi androids and people!
I want to use ExpandedList in my app, and I need for catching clicks
on child buttons. I'm trying use the code, written below, but it does
nothing! Please, help me to slove this problem!

this.list = (ExpandableListView) this.findViewById(android.R.id.list);
this.list.setAdapter(listAdapter);

this.list.setOnChildClickListener(new OnChildClickListener()
{
       public boolean onChildClick(ExpandableListView parent, View v,
int groupPosition, int childPosition, long id)
       {
                Toast.makeText(ContactList.this,"adress",
Toast.LENGTH_SHORT).show();

                return false;
        }
});

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