Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android TV Layout #9

Open
acollazomayer opened this issue Oct 18, 2018 · 4 comments
Open

Android TV Layout #9

acollazomayer opened this issue Oct 18, 2018 · 4 comments

Comments

@acollazomayer
Copy link

Hey do you manage to get unblocked in the development of this. I want to make a standard TV leanback layout and find the same blockers.

@Weetbix
Copy link
Owner

Weetbix commented Nov 4, 2018

Hey @acollazomayer

Unfortunately it's still blocked.

Check out the recent conversation on this issue: facebook/react-native#21233

The event handler was fixed, but now touchable navigation is broken. Once facebook/react-native#21478 is merged I will take another look. I suspect in general there will still be many issues, but it will then be possible to create our own navigation system with the event handler.

@acollazomayer
Copy link
Author

acollazomayer commented Nov 5, 2018

@Weetbix hi weebtix I manage to get unblocked using a workaround. I installed this library https://github.com/kevinejohn/react-native-keyevent and treat the layout as a matrix, with rows and columns. Each time I press the controls arrows I update the row and column position.

Its not the best way to solve it, but you can solve all yours problems, even do a focus on an TextInput id need so.

@Weetbix
Copy link
Owner

Weetbix commented Nov 5, 2018

Dude awesome, great find! Thanks for letting me know.

@acollazomayer
Copy link
Author

No problem!! Hope you finish your project!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants