I wanna create a very large menu coming from an array (may have 50+ items) and would like to be able to display it in one go on the screen, and let the user scroll over it showing a selector over the item selected, just like IRSHELL when it displays the list of remote controls.
Actually I'm having two probs.
First is that I can't seem to be able to create a char array the same way I create an int array like
Code: Select all
int myArr = {1,2,3,4,5};
And second is that I have no idea about how to make my list scroll when the users uses up and down arrows as well as how to know which position I have to show my selector. I guess I can figure ou the position by getting the last position plus x pixels. But the scrolling thing, I have no idea how to do.
Can anyone help me on that? Even if it's pointing me out to some code samples?
Thanks,
Marcos