Code example for ListAdapter

Methods: getViewTypeCount

0
		return adapter.getView(offsetPosition(position), convertView, parent);
	} 
 
	@Override 
	public int getViewTypeCount() { 
		return adapter.getViewTypeCount();
	} 
 
	@Override 
	public boolean hasStableIds() { 
		return true; 
	} 
 
	@Override 
	public boolean isEmpty() { 
		if (offsetPosition(0) == -1) { 
			return true; 
		} 
		 
		return false; 
	}