am dc4beb48: am e7ec492f: Merge "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"
* commit 'dc4beb483eb14f1b56154125c67b780802756572': Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter
This commit is contained in:
@@ -79,7 +79,8 @@ public class HeaderViewListAdapter implements WrapperListAdapter, Filterable {
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return mAdapter == null || mAdapter.isEmpty();
|
||||
return (mAdapter == null || mAdapter.isEmpty())
|
||||
&& getFootersCount() + getHeadersCount() == 0;
|
||||
}
|
||||
|
||||
private boolean areAllListInfosSelectable(ArrayList<ListView.FixedViewInfo> infos) {
|
||||
|
||||
Reference in New Issue
Block a user