I'm trying to apply some kind of check in a group of checkboxes (for example, two conflicting elements cannot be checked together), so I want to somehow group Check Box objects and apply something like RequiredFieldValidator for the whole group once and in which validator I I will register the listeners and conduct the entire verification of Check Boxes objects.
I think this will be code that looks like this:
CheckBoxView allMyCheckBoxes = new CheckBoxView(checkbox1,checkbox2,checkbox3);
Validate will contain the logic of conflicting flags and all.
Is it already implemented somewhere in Android? If not, has anyone tried something like this? (Hope share it with us here)
Mohamed sobhy
source share