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

dividers are not displayed for rows disabled with isEnabled() method in adapter. #58

Open
mplatov opened this issue Feb 16, 2013 · 1 comment

Comments

@mplatov
Copy link

mplatov commented Feb 16, 2013

If normal ListView is replaced with PullToRefreshListView dividers for disabled cells will not be drawn. As it described in this answer:
http://stackoverflow.com/questions/1873020/android-listview-non-enabled-items-draw-invisible-divider/9197037#9197037
the solution is to use areAllItemsEnabled() and isEnabled() simultaneously. It works for normal ListView, but doesn't work for PullToRefreshListView, because areAllItemsEnabled() adapter method is never called.

@mplatov
Copy link
Author

mplatov commented Feb 16, 2013

fix/workaround suggested in this pull request:
chrisbanes/Android-PullToRefresh#228

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

1 participant