Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

My Question is

I have a expandable list view. in the expandable list i have two buttons in each child in the list. Now i can able to add buttons in the child list. But i dont know how to get parent position and child position. with this parent and child values i need to call another activity. I dont know how to use expandablelistadapter and onChildClick method. Can anybody explain with example. Because am new to android.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
194 views
Welcome To Ask or Share your Answers For Others

1 Answer

You wont get source code implementation as this is not a "gimme-teh-codez" website. Please try to ask questions more specific or tell us whats the problem with your source-code. You can use pastebin.com to direct us to your source code.

I shall point to some links that will help you get started:

Check out : An example showing how to use the child position and ExpandableListAdapter

Expandable lists have groups which contain children


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...