0 Replies Latest reply on Feb 7, 2013 9:42 AM by sb_2012

    check to see if label is selected android

    sb_2012 Level 1

      Hello All,

                   Please help me figure this out.

      I have an android app and it dispalys a buch of labels depending on the question selected. Now onClick() i have set the label to turn green to show it has been selected as the answer. Now, if the user wants to change his choice, then when he clicks on green label it should loose it color and show defalut white color.

      So, how can I check if a particular label is selected or not like in checkboxes where we can have a (target.selected) checked every time to see if the check box is selected or not. I hope I am clear enough with my question .


      Thank you in advance