Should what message I to listen to know when a page is in jumps from the navigation pane

Hello

Is there a signal on the level of the page that will tell me when a page is in jumps from the navigation pane.  I wish I could stop some it is made on the page when he jumped and no longer in background processing mode.

Where would I best handle this? I know that there is an onPopTransitionEnded on the navigation pane, but I would prefer to deal with in the qml file if possible...

Thank you

You can use the property on the page and Cisse inside the onPushTransitionEnded / onPopTransitionEnded
For example:

Page{
    property bool isActive: false
    onIsActiveChanged:{
        If (isActive){
            // start processing
        }else{
            // stop processing
        }
    }
    ....
}

And

onPushTransitionEnded: page.isActive = trueonPopTransitionEnded: page.isActive = false

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for