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