Revert "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"
This reverts commit ef2277ec58.
This caused a regression for some apps relying on the old behavior.
Bug 9372495
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user