Get the specific application stack screen Ui

Hello.. I want to know is there a way for us particular screen of UI app backstack instance.

For example:

We have 4 screens in the stack Screen1-Screen2-Screen3-Screen4

Now what to do if, after reaching Screen4 we get Screen2 instance (to remove only Screen2 backstack)

According to documents UiApplication has getScreenBelow() method... But it returns only a screen below the active screen (in this case Screen3)

So is it possible to set some tags at the time to push and to any proceeding in any screen after having detected this tag we can screen instance decided?

You can call getScreenBelow multiple times.
to identify a certain screen, you can use setCookie/getCookie.
As an alternative, you can store a reference to your screen in a variable.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for