I am aggregating numeric ratings (1-5 stars) from a MySQL table containing many entries. It will take the average of the ratings in the column and return it as a variable into Android.
Let’s call the variable $foo.
How do I use $foo to preset the Android RatingBar so that it will programmatically change the number of stars based on the database value?
Use
RatingBar.setRating.