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

Dynamically show/hide headers without changing the adapter #453

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

patedit
Copy link

@patedit patedit commented Apr 14, 2016

There's another PR for this feature. IMHO, the problem with that solution is that it resets the adapter every time you change the flag and that's not ideal in many cases (i.e. repopulate everything, set origin to 0, etc...).
My approach handles this problem on the adapter level by creating a new method on the interface that will be consumed from custom or built-in adapters by implementing shouldShowHeaders which can dynamically change its value.

@ditta95aR
Copy link

#387 Add the ability to show/hide headers on demand.

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.

2 participants