Code example for MergeCursor

0
            /* 
            result.add("\u00A0");                               // LABEL 
            result.add(cons);                                   // NAME 
			*/ 
 
            return new MergeCursor(new Cursor[] { translated, phoneCursor });
        } else { 
            return phoneCursor;
        } 
	} 
 
	@Override 
	public CharSequence transformToSipUri(Context ctxt, Cursor cursor) {
		String number = cursor.getString(NUMBER_INDEX);
        if (number == null) {
            return ""; 
        } 
        number = number.trim();
        return number;
	} 
Connect your IDE to all the code out there  Get Codota for Java