expandable list view

by google » Tue, 07 Apr 2009 19:39:12 GMT


Sponsored Links
 hi,
i am creating expandable list with group and childs,
i am able to handle onchildclick()
but not able to handle ongroupclick()  can anybody helps in this



regards,
chandra

--~--~---------~--~----~------------~-------~--~----~



expandable list view

by dillirao malipeddi » Mon, 13 Apr 2009 17:21:26 GMT


 you can use
       @Override
public void onGroupExpand(int groupPosition)
       {
// TODO Auto-generated method stub
super.onGroupExpand(groupPosition);
Toast.makeText(ExpandableList1.this, "Group Clicked on pos =
"+ groupPosition, Toast.LENGTH_SHORT).show();
}

for get selected  group position

i think this will help you








-- 
Dilli Rao. M

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. DialterFilter, what does this widget do?

Hi all,

Browsing in the API I've stumbled upon the DialerFilter widget. Since
I can't find much documentation about how to us it, let alone know
what it does, I tried to use it in a little app just to see what comes
out.
I keep getting a IllegalStateException in the Layout builder about the
DialterFilter needing a child EditText named hint. Looking at the
source of the DialterFilter class I can see that the widget is indeed
waiting for a EditText named hint, but not in my R.class but in the
R.android.internal class. So adding a EditText named id+/hint in my
layout XML file won't solve the problem.
So how can I solve this problem? Would it be that DialterFilter is a
"private" widget that we can't use but happens to be in the API
documentation?
I'm trying to build a "clone" of the Sense dialer (keypad at the
bottom part of the screen, filtered contact list at the top part of
the screen) and, according to its name, DialterFilter sounds like what
I'm looking for.

Thanks for you help,

Marc

-- 

2. Spica to Moto Droi

Om Mods numpang bw nich..
ada yang bisa kasih penawaran TT ga ...
kondisi spica mulus abis warna hitam, udah ada SC+silikon, pembelian 2
bulan, tapi sayangnya Kartu Garansi terselip entah dimana :(
pengennya di TT ke Motorola Droid BNIB+otterbox, klo ga ada otterbox nya ya gpp
japri ya ke e...@mitrabangunan.co.id

NB: pliz jangan sadis2 nya kasih harganya budget mepet ^_^

thx

-- 
"Indonesian Android Community [id-android]" 

3. ListView problem - items are shrank when while scrolling the view

4. aPad/iRobot 2nd generation bisa disambung ke 3G/HSPA USB dongl

5. Class ServiceManager missing in Android 2.1

6. Latency due to Garbage collection on onPrevFrame

7. IM Native..again....