List pickers, Urls and Backpress - how to make the back press button return from Url to the list picker list NOT the screen

Folks, how do I program back press option for URL to return to the list picker list and not the screen. I have a list picker where list items are linked to URLs and when I hit back button on the emulator and on my device(back press) it brings me back to the actual screen but not the list picker list. Any help, tips and hints will be greatly appreciated.

If you mean this:


then there is no event, therefore you cannot do anything other than go back

otherwise ?


You could always add an if/else statement if you need different functionality to apply in different conditions.

thank you so much Tim, I'll try it right now and will definitely let you know what came out of it