AnsweredAssumed Answered

handling back button android

Question asked by albavoli on Feb 28, 2017
Latest reply on Feb 28, 2017 by sprasad-esristaff

i found the code below:

 

focus: true // important - otherwise we'll get no key events         Keys.onReleased: {               if (event.key === Qt.Key_Back) {                     event.accepted = true                    //do some action here like close or pop the stack view               }            }


Where should i put this to make it work???

Outcomes