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

老哥问个问题 #1

Open
ljackChen001 opened this issue Jul 30, 2020 · 1 comment
Open

老哥问个问题 #1

ljackChen001 opened this issue Jul 30, 2020 · 1 comment

Comments

@ljackChen001
Copy link

焦点一直往右或者往左移动,第一页和最后一页是抖动效果,中间页焦点移动到屏幕最右边怎么往下移动,移动到屏幕最左边是往上移动

@iSuperRed
Copy link
Owner

我的想法是通过viewgroup的事件分发机制,重写verticalgridview的dispatchkeyevent方法,拦截事件,将你想要的view获取焦点,也就是改写其焦点分发。目前我就是这个想法,可以试一下。

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