could anyone tell me how to dynamically select an item in a listview??
i triedlistview.setSelection(1);
andlistview.performItemClick(listview,3,listview.getItemIdAtPosition(3));
both of them don't work..please help me.
could anyone tell me how to dynamically select an item in a listview??
i triedlistview.setSelection(1);
andlistview.performItemClick(listview,3,listview.getItemIdAtPosition(3));
both of them don't work..please help me.
Try
ListView.setItemChecked(int position, boolean checked);
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.