public boolean onChildClick(ExpandableListView parent, View v,
int groupPosition, int childPosition, long id) {
Log.d(LOG_TAG, "onChildClick: " + childPosition);
Button btnPlay=(Button)v.findViewById(R.id.Play);
Button btnDelete=(Button)v.findViewById(R.id.Delete);
Button btnEmail=(Button)v.findViewById(R.id.Email);
btnPlay.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
// TODO Auto-generated method stub
Toast.makeText(FindFilesByType.this, "u clicked play btn", Toast.LENGTH_LONG).show();
}
});
in to above code i've made expandable list into that first i've put some content and if it expand,it displays 3 button.. <br>
PLAY,EMAIL and DELETE
my problem is that it doesn't react on button click event
what is i am missing?
thank in advance -pragna