Sorry for maybe a lame question, but...I am trying to implement a button within my app, whose function is just to go back to previous "state".
Right now my button returns a user to home screen (which is a Base State) via this code:
onClicked: mainScreen.state = ''
I would love to see something like this working:
onClicked: mainScreen.state = 'previous'
But it is not...what is the easiest technic to make Back button mechanics to work?
Thanks in advance!