Re: [android-developers] Re: Expandedlistview

2011-12-31 Thread TreKing
On Fri, Dec 30, 2011 at 9:00 PM, Sean751 sean...@gmail.com wrote: If I add getExpandableListView().setOnGroupClickListener((OnGroupClickListener) this); it asks me to type cast 'this'. What do you mean it asks you to typecast 'this' ? What is this? Is it an OnGroupClickListener? Then

[android-developers] Re: Expandedlistview

2011-12-31 Thread Sean751
I mean Eclipse suggests that as a fix. There is an example for using the onChildClick and in onCreate the line getExpandableListView().setOnChildClickListener(this); is included so if I want to also have onGroup click I assumed that I need getExpandableListView().setOnGroupClickListener(this); but

Re: [android-developers] Re: Expandedlistview

2011-12-31 Thread TreKing
On Sat, Dec 31, 2011 at 6:21 AM, Sean751 sean...@gmail.com wrote: There is an example for using the onChildClick and in onCreate the line getExpandableListView().setOnChildClickListener(this); is included That implies that in this example the class referred to by this implements the

[android-developers] Re: Expandedlistview

2011-12-30 Thread Sean751
Thanks for responding, I still have a problem I can do a method for public boolean onGroupClick(ExpandableListView parent, View v,int groupPosition, long id) {} but it does nothing when a group is clicked. If I add getExpandableListView().setOnGroupClickListener((OnGroupClickListener) this); it