android - Use onChildClickListener with ExpendableListView -


how use onclicklistener expendable list view in such way clicking child item creates new activity?

i did guy made don't have idea how make child item create new activity. explained bit in comments don't know go after

 expandlistchild ch =  explistitems.get(groupposition).getitems().get(childposition); 

i included

expandlist.setonchildclicklistener(expandlist_itemclicked); 

on oncreate method. know have 'ch' variable, don't know values corresponding clicked item are. can please help?

onchildclick (expandablelistview parent, view v, int groupposition, int childposition, long id) 

when childclick listener called information need, ch not needed.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -