Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7

SetFocusedListItem dynamic

I want to use SetFocusedListItem to set the focus on a specific item, but I want to send the info about what category should be focused through xml feed.
Something like this:
<category focus='1' title="Category Name" description="Description" sd_img="" hd_img="" feed=";channel_id=1" ></category>

So I want to set the focus to the category with focus set to 1 (or true). I think this can be done integrating some code in parsing feed to get the number of the channel that should be focused, but I don't know exactly how. Any suggestions?!

(I use Video Player Example Application)
0 Kudos