Code example for SparseIntArray

0
	private final Context context;
	final StickyHeadersSwipeToDismissAdapter delegate;
	private Drawable divider;
	private int dividerHeight;
	private WeakHashMap<View, Void> headers = new WeakHashMap<View, Void>();
	private SparseIntArray positionMapping = new SparseIntArray();
	int dividerViewType;
	int headerViewType;
	private int headerCount;
	private int dividerCount;
	private int cachedCount = -1;
	private DataSetObserver datasetObserver = new DataSetObserver() {
		public void onChanged() { 
			cachedCount = -1; 
		}; 
 
		public void onInvalidated() { 
			cachedCount = -1; 
		}; 
	};