cancel
Showing results for 
Search instead for 
Did you mean: 

Return to "previous" view & keep track of views

XD
Associate III

Hello everyone!

The question is simple, i want to be able to "return" to the previous view when entering a sub-menu (view).
There are many ways to do this, like manually assigning a label/identifier to each view.

Pushing the label anto a stacked stored in the Model when entering a sub menu, then pop:ing the label and checking if it corresponds to a "sub-menu entry" when leaving the view.

Question 1:
Is there some built in mechanism to individually identify each view?
I would like to avoid manually adding labels to the views like enums etc.

Question 2:
Is there a built in system for handling this?
I haven't been able to find it in the documentation and would obviously prefer to use a excising built in solution than writing one myself.

 

Example below:

I want the cursor/arrow to return "Sub menu 1:A" when returning from sub menu "1:A"

 

ExampleMenu.png

 

 

0 REPLIES 0