Skip navigation
sb_2012
Currently Being Moderated

check to see if label is selected android

Feb 7, 2013 9:42 AM

Tags: #label #4.6 #android_app

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

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points