I am following the example code given on android developer site for develop
Expandable List View link as
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/ExpandableList1.html

<http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/ExpandableList1.html>now
I am trying to implement onChildClick Listener ...
For this I am doing as
          super.onCreate(savedInstanceState);
        mAdapter = new MyExpandableListAdapter();
        setListAdapter(mAdapter);
       getExpandableListView().setOnChildClickListener(this);

in ExpandableList1

and overriding this method

        @Override
 public boolean onChildClick(ExpandableListView parent, View v, int
groupPosition, int childPosition, long id){
System.out.print("This is the test");
 return false;
 }
in same ExpandableList1 as it extend ExpandableListActivity
But control not coming inside the onChildClick (....) method .
Anyone guide me where I am doing the wrong ...
Hope someone teach where is my mistake ....


-----------------------------------------------
Regards :
               Aftab
-----------------------------------------------

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