Fenix 3 input event handling

Former Member
Former Member
Hi, I have the following implementation:

class ViewBehaviorDelegate extends Ui.BehaviorDelegate {
...
function onBack() {
Ui.popView(Ui.SLIDE_UP);
return true;
}
...
}


I use this to handle behaviour on a View pushed by another View (i.e. a stack of 2). On the simulator, this works as it should - when I press the back button, 1 view is popped.

In the Fenix 3, 2 Views are popped. The only way I can make 1 view pop is by removing my onBack implementation. Am I doing something wrong here, or is the Fenix 3's View stack management broken? This does not happen in the Vivoactive device or simulator.
  • We identified an issue that causes this shortly after the 1.1.3 release. It's been fixed, but it probably won't be available until the next SDK release. For now, if you would like to work around this problem, you can intercept the key presses (e.g. KEY_ESC) rather than behaviors (e.g. onBack).