Code example for ListAdapter

Methods: isEmpty

        return mBaseAdapter.hasStableIds();
    public boolean isEmpty() { 
        return mBaseAdapter.isEmpty();
    public View getView(int position, View convertView, ViewGroup parent) {
        if (isSectionHeaderPosition(position)) {
            TextView view = (TextView) convertView;
            if (view == null) {
                view = (TextView) mLayoutInflater.inflate(mSectionResourceId, parent, false);
            return view;
        } else { 
            return mBaseAdapter.getView(sectionedPositionToPosition(position), convertView, parent);
Connect your IDE to all the code out there  Get Codota for Java