custom-rating-bar
custom-rating-bar copied to clipboard
How to enable disable this view??
I want to just display rating to user not to submit. how to enable disable this view? if enable user can select and give rating, but if disable one can only view rating
Hello,
Try using the method setScrollToSelect
.
setScrollToSelect(true) will disable the view
setScrollToSelect(false) will enable the view
In XML you can also use app:onlyForDisplay
in the view to set this attribute.