Repeating Message
I also put this issue on
http://stackoverflow.com/questions/5897093/android-expandablelistview-using-baseexpandablelistadapter
<http://stackoverflow.com/questions/5897093/android-expandablelistview-using-baseexpandablelistadapter>but
still not able what I am doing wrong to get the onChildClick Listener ...

---------- Forwarded message ----------
From: Me <[email protected]>
Date: Thu, May 5, 2011 at 6:53 PM
Subject: How to Implement onChildClick Listener
To: [email protected]


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



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