Code example for SparseIntArray

	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; 
Connect your IDE to all the code out there  Get Codota for Java