You are reading a single comment by @dapgo and its replies. Click here to read the full conversation.
  • Executing below code you can see that "long press" is only detected on Bangle.js1

    It works fine for me... Long-pressing on "file" gives log: long press btn1

    But as I said it doesn't work in the Bangle.js 2 emulator

  • But as I said it doesn't work in the Bangle.js 2 emulator

    It has sense that low level code is common and applies also to layout. ;)

    On the other hand, I was trying to use at sametime "Layout" (for physical and on screen buttons) and "setUI" (for "back" icon+call, swipe and touch events)

    But I've realized that "layout.render()" removes the SetUI settings. Whereas "setUI()" removes the code associated to "layout btns"

    am i doing something wrong ?
    Is the expected behaviour being exclusive between them?

About

Avatar for dapgo @dapgo started