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.
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.