Aman Karmani
Aman Karmani
Sure https://developer.android.com/training/tv/start/navigation.html
For SwitchButton I think you need onKeyDown https://developer.android.com/training/game-controllers/controller-input.html#dpad And also use setOnFocusChangeListener to change the style on focus, so user can tell it is active
The code for handling DPAD is not too complicated. I used kotlin subclass, but it should be easy to add the same thing to the java base class. ```kotlin class...
FYI, In Android Studio you should be able to make TV emulator and use on-screen remote dpad.
> I can open a PR if you'd like. Please do this.
> Exception 0xc0000005 `0xc0000005` = Access Violation, which AFAICT is basically the Windows equivalent of a SEGV > syscall.Syscall6(0x7ffc2cba3f50 Here `0x7ffc2cba3f50` is the address of the `GetMessageW` syscall. > github.com/lxn/win.GetMessage(0xc042135d18...
Thanks. I'm not able to reproduce readily, but will enable WER to capture a dump the next time it happens. I'm fairly certain all the GUI code is locked to...
> How do you know that msg is allocated on stack and does not escape to the heap? I do not know what Go version you use, but I would...
I tried `go build -gcflags "-m"` and didn't see any output relating to `msg`, so I guess that means the variable stays on the stack?
@lxn If you have crash stacks from any of them, please share as it will help find any commonalities that could point towards the root cause.