Friday, December 30, 2011

[android-developers] Re: Expandedlistview

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 asks me to type cast 'this'. Then the application crashes on
run. I suppose onclick must be used for changing the display could the
conflict be the problem?
Any ideas
Thanks
Sean


On Dec 30, 11:41 am, TreKing <treking...@gmail.com> wrote:
> On Thu, Dec 29, 2011 at 7:31 AM, Sean751 <sean...@gmail.com> wrote:
> > How can I make use of onGroupclick or can I detect a group click in
> > another part of the code?
>
> http://developer.android.com/reference/android/widget/ExpandableListV...)
>
> --------------------------------------------------------------------------- ----------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate