I don't fully understand what you are trying to do, so I'm not sure what exactly the problem is. You know how to get the currently selected item from the list, so now you just need to do something with the information. If you want to perform an action on an avatar, then create a list that maps an index to an action, and use this to decide which action to perform.
|