7

Is there a way to jump to a specific item in a listview

view full story
linux-howto

http://stackoverflow.com – I am in the process of developing a lengthy list view that is created from a JSON array coming from my server. When an item is selected it could be anywhere in the list and when I return I want to jump back to that specific item. I was thinking about the setSelection(position) structure but I was curious as to how the position variable is set. Does it need to come from the JSON string or is it a variable that is created while the list view is being filled. If it is created what is the syntax of retrieving it so I can pass it to the Activity in charge of displaying more data and then back to (HowTos)