my goal is to create a star field like in android they have a rating star field. I have come as far to accomplish the following:
- create the star fields (5)
- when clicked, bitmap changes.
- When "Unclicked" bitmap changes back to default.
My next step is to do the following: if star 1 is not clicked then all 4 stars after must not be clickable, if star 2 is clicked then star 3 must be clickable and stars 4-5 must not be clickable, (and then backwards) if all 5 stars have been selected only star5 must be clickable, if star 5 and 4 are unclicked then star3must be clickable stars 2-1 must not be clickable, etc.
I can supply you with a code snippet(check link) with what I have done so far: http://supportforums.blackberry.com/t5/Java-Development/Rating-Stars-like-in-android/m-p/1942559
Please let me know if you have any idea on how to do what I would like to achieve , thank you.