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

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

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

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

* commit 'e7ec492f':
  Make implementation of isEmpty consistent with implementation of getCount in HeaderListViewAdapter
parents c6f05e93 e7ec492f
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) {