Example code to replicate:
var confirmation = new WatchUi.Confirmation("Confirmation?");
WatchUi.pushView(confirmation, new ConfirmationDelegateTest(), Ui.SLIDE_IMMEDIATE);
......
class ConfirmationDelegateTest extends WatchUi.ConfirmationDelegate {
function onResponse(response) {
System.println(response);
return true;
}
}
This issue was recreated on Vivoactive version 3.1, Connect IQ 1.1.3.
Is there a workaround for this issue on the device? The real-world problem I'm trying to solve is that I have a View with a repeating timer that is requesting UI updates frequently in its callback (every 100 ms - I'm displaying a countdown timer). When I push the Confirmation view I get some temporary weird UI glitching (drawable items from my view and the Confirmation view flashing as the Confirmation view is shown) when that view pops up due to my own view UI being refreshed so frequently. If I programmatically stop my View from requesting UI updates before I launch the Confirmation and resume them after it is responded to, I don't see the UI issue. I can easily do this if the checkbox (Yes) or X (No) is clicked in the Confirmation dialog is pressed, because those trigger onResponse() to be called, but I have no way I can see of handling the back button press. Thanks for any suggestions!