On ExpandableListViews Again

by Michael » Fri, 14 Jan 2011 21:35:34 GMT


Sponsored Links
 Hi All,

So I have this issue with ExpandableListViews I don't quite
understand. I'm having the exact issue as this person almost a year
ago but I'm seeing the solution is not really clear:




Re: On ExpandableListViews Again

by TreKing » Sat, 15 Jan 2011 09:31:35 GMT


 



Just a guess, see if this helps:
 http://developer.android.com/reference/android/view/ViewGroup.html #setDescendantFocusability(int)

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 


Sponsored Links


Re: On ExpandableListViews Again

by Michael » Wed, 19 Jan 2011 09:41:12 GMT


 Thanks TreKing,

I had a suspicion that it has to do with ViewGroup since it was being
passed into getGroupView. I was trying to use the ViewGroup parent
argument in the inflator too since its 2nd parameter was a ViewGroup
"root". And obviously I get a UnsupportedMethod exception. I shifted
my time away from this part to focus on other aspects of the project
but I'll definitely take a better look at the focusable aspects of
Views.






-- 



Re: On ExpandableListViews Again

by Michael » Wed, 19 Jan 2011 09:44:55 GMT


 I take that back. Looks like I fixed the issue. I can have any view I
want. Thanks for your time.

~Michael






-- 



Re: On ExpandableListViews Again

by Michael » Wed, 19 Jan 2011 09:45:02 GMT


 Hmmm, I came to the conclusion that a groupView can only contain
TextView type Views meaning stuffing a groupView with Buttons and
other items that are clickable is not advised or not possible. If this
is not true let me know. Right now I'm working around this issue by
making a bunch of TextViews in my convertView for getGroupView and I'm
able to ID them through onGroupClick.

~Michael






-- 



Other Threads

1. Om sy udh install gde 0.1.6,cara jalanin ato aktifin nya gmn?

Pijit home
Nanti bs pilih





Ada yg tau ga cara jalanin gde nya gmn?

--
Sent from my mobile device


--~--~---------~--~----~------------~-------~--~----~
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

2. Om sy udh install gde 0.1.6,cara jalanin ato aktifin nya gmn?

Ada yg tau ga cara jalanin gde nya gmn?

-- 
Sent from my mobile device

--~--~---------~--~----~------------~-------~--~----~
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

3. ADP2 Coming

4. There's an app for that?

5. Spl Dan goldcard

6. Setting MMS htc hero

7. showDialog() and "requestFeature() must be called before adding content" Error