Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Roku Guru

Re: questions about handling starratings

OK getting there, it is getting stored in memory, I just needed to convert the stored value to an integer when displaying in the button,
screen.AddRatingButton(4, 0, strtoi(showList[showIndex].StarRating))

and as far as retrieving the values from the XML, the second way I tried works:
item.StarRating = validstr(curShow.StarRating.GetText())

but now I'm getting a Type Mismatch when I try to strtoi the stored values... i'll figure it out
0 Kudos