Hi,
I'm implementing a menu using vertical list the implementation is such that from one menu item on an occurrence of an event (NEXT) it will show the respective sub menus under it. The list will show 5 items when loaded initially
The transition from one dialog(Settings) to another dialog (Volume) is done using SwitchTo Dialog API and vice versa (Back)
eg Settings -> volume
The problem that I'm facing is suppose I have selected 6th element from 1st list & I want to return back to previous menu using SwitchToDialog() API.
Such that the previously selected item must be highlighted & shown
I'm able to see the previous menu dialog
But the selected Item is not visible meaning its just loading initial 5 elements present in the list
eg Item = 6;
I have used all the following possibilities
VerticalList.SelectedItem = Item;
VerticalList.Item = Item;
VerticalList.invalidateItems(0,LastItem);
VerticalList.EnsureVisible(Item,true,null,null);
its not working I'm only able to see the 1st 5 elements in the list & not able to see the selected item(6) or item below these 5 elements
Regards