Code example for AlphabetIndexer

Methods: setCursor

			mAlphabetIndexer = new AlphabetIndexer(getCursor(), BuddiesQuery.LASTNAME, alphabet);
		public Cursor swapCursor(Cursor newCursor) {
			mCellStates = newCursor == null ? null : new int[newCursor.getCount()];
			return super.swapCursor(newCursor);
		public View newView(Context context, Cursor cursor, ViewGroup parent) {
			View row = mInflater.inflate(R.layout.row_buddy, parent, false);
			ViewHolder holder = new ViewHolder(row);
			return row;
		public void bindView(View view, Context context, Cursor cursor) {
Connect your IDE to all the code out there  Get Codota for Java