I'm working on a blackberry application with navigation through multiple screens. Is there a way to know when a MainScreen
becomes visible like the viewWillAppear
method in iOS when I pop one MainScreen
and go to a MainScreen
that already exists on the view stack?.
you can override protected void onExposed() in your main screen class and it will be invoked when this screen is revealed by a screen getting popped off the display stack.