We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
The text was updated successfully, but these errors were encountered:
2b049f6
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!
1.1.0
Sorry, something went wrong.
xiprox
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: