Merge "Revert "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"" into jb-mr2-dev

This commit is contained in:
Dave Burke
2013-06-13 04:08:42 +00:00
committed by Android (Google) Code Review

View File

@@ -79,8 +79,7 @@ public class HeaderViewListAdapter implements WrapperListAdapter, Filterable {
}
public boolean isEmpty() {
return (mAdapter == null || mAdapter.isEmpty())
&& getFootersCount() + getHeadersCount() == 0;
return mAdapter == null || mAdapter.isEmpty();
}
private boolean areAllListInfosSelectable(ArrayList<ListView.FixedViewInfo> infos) {