Hey! first of all, great library, super flexible and easy to customize.
I'm trying to add a SimpleRatingBar view as part of an item in a RecylerView.
@ModelProp fun setStarCount(starCount: Float?) = with(vehicle_rating) {
show(starCount != null)
starCount?.let { rating = starCount }
}
The starCount binding is called properly, If I replace the SimpleRatingBar by a TextView for example, the rating is shown properly, but using the library it's always 0 stars (the setRating method is called with the correct values).
Any idea why that can be happening?
Thanks!
Hey! first of all, great library, super flexible and easy to customize.
I'm trying to add a
SimpleRatingBarview as part of an item in a RecylerView.The starCount binding is called properly, If I replace the
SimpleRatingBarby a TextView for example, the rating is shown properly, but using the library it's always 0 stars (thesetRatingmethod is called with the correct values).Any idea why that can be happening?
Thanks!