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

Add property which allows header view to handle touch events. #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deRonbrown
Copy link

Previously, the header view could not accept user interaction. By setting the mAllowHeaderTouchEvents flag, the margin view will pass touches to the header view to be (possibly) handled.

Common use cases are if the header view contains an ImageView which needs an OnClickListener or if you have a more complex header view with buttons or other clickable elements.

@smbarne
Copy link

smbarne commented Jul 31, 2014

+1 - this is useful and I've pulled this into my codebase

@MariusVolkhart
Copy link

👍 from me also. Also have included it in our codebase.

@xkokushox
Copy link

It worked great for me XD thanks a ton

@doodlleus
Copy link

excellent work, thank you!

@jkwiecien
Copy link

+1, please merge

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

Successfully merging this pull request may close these issues.

6 participants