Skip to content

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