I am currently using the custom layout for the child in Expandablelist which includes 2 different text views and an imageview. Also it will always have 1 child everytime. I am able to get the clicklistener in the adapter but not able to get this in the activity.
I have also tried to get the click listener event in the onChildClick() method but it was not working.
I am using this adapter in different activities so i want to have the click listener for one of the text view in the activity itself.
Any suggestions please.
I am able to get this done guys, i added
android:onClick="textClickHandler">in the layout file and included the listener as below in my activity: