Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2331b423 authored by Adam Powell's avatar Adam Powell Committed by Android Git Automerger
Browse files

am dc4beb48: am e7ec492f: Merge "Make implementation of isEmpty consistent...

am dc4beb48: am e7ec492f: Merge "Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter"

* commit 'dc4beb48':
  Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter
parents 90f4c5c9 dc4beb48
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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) {