Question

I have a list view.In the row of list view there is 4 text view and a check box. In the text view text set from a Array list.In list view there is more the 20 row. And this is my problem how to enable single selection in check box. At a time i want only a single check box if i check a check box the other is checked it automatically unchecked how it possible. please help me. thanks in advance.

Was it helpful?

Solution

use youcheckbox.setchecked(false) for unchecking any checkbox. on any checkbox click call this method for other clicked checkboxes

or use radioboxes

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top