Hello, there is a big flow with this library (at least i think so).
my app has a rating system that you can rate a shop from 1 to 5 stars.
the problem is on setOnRatingChangeListener i want to send the selected rate to a server and refresh the rating bar with the received data from the server. so when it happens the setOnRatingChangeListener will trigger and it becomes an infinite loop.
ps. in android RattingBar in setOnRatingBarChangeListener there is a boolean value called fromUser which will determine a user selected that value or it's been set from code. THIS IS what your library missing.
Hello, there is a big flow with this library (at least i think so). my app has a rating system that you can rate a shop from 1 to 5 stars. the problem is on setOnRatingChangeListener i want to send the selected rate to a server and refresh the rating bar with the received data from the server. so when it happens the setOnRatingChangeListener will trigger and it becomes an infinite loop. ps. in android RattingBar in setOnRatingBarChangeListener there is a boolean value called fromUser which will determine a user selected that value or it's been set from code. THIS IS what your library missing.