Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setIconColor is not working #2

Closed
chaimleu opened this issue Aug 16, 2015 · 1 comment
Closed

setIconColor is not working #2

chaimleu opened this issue Aug 16, 2015 · 1 comment
Assignees
Labels

Comments

@chaimleu
Copy link

I am trying to change the icon color to blue if the status is neutral but it stuck at the default color,
What have I done wrong?
This is my code:

ratingBookStars.setOnRatingChangedListener(new SimpleRatingView.OnRatingChangeListener() {
@OverRide
public void onRatingChanged(SimpleRatingView.Rating ratingType) {
switch (ratingType) {
case POSITIVE:
stars = 3;
break;
case NEUTRAL:
stars = 2;
ratingBookStars.setIconColor(Color.BLUE);
break;
case NEGATIVE:
stars = 1;
break;
}
}
});

Thanks,
Haim.

@xiprox xiprox added the bug label Aug 16, 2015
@xiprox xiprox self-assigned this Aug 16, 2015
@xiprox xiprox closed this as completed in 2b049f6 Aug 16, 2015
@xiprox
Copy link
Owner

xiprox commented Aug 16, 2015

It was a silly mistake on my part. I've pushed version 1.1.0 to maven. You should be able to use it in an hour or so. Good luck with your project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants