Hello Developers,
I am facing a different type of issue, i have a layout which
contains One expandableListview and another Listview , i have
designed this layout using framelayout now all click events works for
expandable and listview but expandablechild and list child click
events not working trying to find the issue but here each entry is
fine on layout only click event on listchild and expandable child is
not working...
Please check what i am missing
expList.setOnChildClickListener(new OnChildClickListener() {
public boolean onChildClick(ExpandableListView
arg0, View arg1,
int arg2, int arg3, long arg4) {
Log.i("clicked ","clicked");
Toast.makeText(getApplicationContext(),
"Child ItemClicked " +
arg2 + " " + arg3,
Toast.LENGTH_SHORT).show();
return false;
}
});
//============movie list click here
l1.setOnItemClickListener(new AdapterView.OnItemClickListener()
{
public void onItemClick(AdapterView a, View v, int
position, long
id) {
Log.i("listview", "clicked1");
Toast.makeText(getApplicationContext(),
"Child ItemClicked " + position
,
Toast.LENGTH_SHORT).show();
}
});
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en