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
Hello again, I have this code on a dialog fragment:
ScaleRatingBar ratingBar = new ScaleRatingBar(requireContext()); ratingBar.setNumStars(5); ratingBar.setMinimumStars(1); ratingBar.setRating(3); ratingBar.setStarPadding(5); ratingBar.setStepSize(0.5f); ratingBar.setStarWidth(105); ratingBar.setStarHeight(105); ratingBar.setIsIndicator(false); ratingBar.setClickable(true); ratingBar.setScrollable(true); ratingBar.setClearRatingEnabled(false); ratingBar.setEmptyDrawableRes(R.drawable.new_star_empty); ratingBar.setFilledDrawableRes(R.drawable.new_star_full); ratingBar.setOnRatingChangeListener(new BaseRatingBar.OnRatingChangeListener() { @OverRide public void onRatingChange(BaseRatingBar ratingBar, float rating, boolean fromUser) { Log.e(TAG, "onRatingChange: " + rating); } });
When the app is running and dialogfragment is shown, whenever I touch the stars, the log.e error does not show into logcat.
What might be the issue?
The text was updated successfully, but these errors were encountered:
I'm having the same problem. Any fixes?
Sorry, something went wrong.
No branches or pull requests
Hello again, I have this code on a dialog fragment:
ScaleRatingBar ratingBar = new ScaleRatingBar(requireContext());
ratingBar.setNumStars(5);
ratingBar.setMinimumStars(1);
ratingBar.setRating(3);
ratingBar.setStarPadding(5);
ratingBar.setStepSize(0.5f);
ratingBar.setStarWidth(105);
ratingBar.setStarHeight(105);
ratingBar.setIsIndicator(false);
ratingBar.setClickable(true);
ratingBar.setScrollable(true);
ratingBar.setClearRatingEnabled(false);
ratingBar.setEmptyDrawableRes(R.drawable.new_star_empty);
ratingBar.setFilledDrawableRes(R.drawable.new_star_full);
ratingBar.setOnRatingChangeListener(new BaseRatingBar.OnRatingChangeListener() {
@OverRide
public void onRatingChange(BaseRatingBar ratingBar, float rating, boolean fromUser) {
Log.e(TAG, "onRatingChange: " + rating);
}
});
When the app is running and dialogfragment is shown, whenever I touch the stars, the log.e error does not show into logcat.
What might be the issue?
The text was updated successfully, but these errors were encountered: