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

能不能getIndexBar?想对这个进行修改。。。 #41

Closed
SheepYang1993 opened this issue Mar 1, 2017 · 4 comments
Closed

能不能getIndexBar?想对这个进行修改。。。 #41

SheepYang1993 opened this issue Mar 1, 2017 · 4 comments

Comments

@SheepYang1993
Copy link

No description provided.

@SheepYang1993
Copy link
Author

或者添加IndexBar触摸监听,点击?

@SheepYang1993
Copy link
Author

好吧,getChildAt(2)了。

@SheepYang1993
Copy link
Author

拿不到你的IndexBar,只能这样了:

            if (ev.getX() > (getMeasuredWidth() - getChildAt(2).getMeasuredWidth())) {
                getParent().requestDisallowInterceptTouchEvent(true);
            } else {
                getParent().requestDisallowInterceptTouchEvent(false);
            }

@YoKeyword
Copy link
Owner

如果需要特殊定制的话,可以考虑fork项目修改;

最近比较忙,可能无法及时维护该项目哈

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