-
Notifications
You must be signed in to change notification settings - Fork 145
Description
Hi
I am trying to enable my app to run on Android TV. I followed this guide. I made the changes to the AndroidManifest.xml and wrapped MaterialApp with Shortcuts widget to enable navigation. That's all, didn't do the YouTube player bits.
In my app I have some SwitchListTile widgets and some NumberPicker widgets. SwitchListTile widgets work with the TV D-pad controller out of the box. I can navigate to them using arrow buttons and if I press the action button I can toggle on/off value.
But I cannot control NumberPicker using D-Pad. I tried wrapping it in Focus widget, and I think it does get focus, although cannot see anything, but I've noticed that I have to click twice to get to the next item. But even when it does have focus, I cannot do anything using D-Pad.
Can this be done or does widget need to be changed to support this?