public static Uri appendId(Uri uri, Cursor cursor) {
        return ContentUris.withAppendedId(uri, cursor.getLong(cursor.getColumnIndexOrThrow(_ID)));
    }
public static Uri appendId(Uri uri, Cursor cursor) {
        return ContentUris.withAppendedId(uri, cursor.getLong(cursor.getColumnIndexOrThrow(_ID)));
    }
public static Uri appendId ( Uri uri , Cursor cursor ) { return ContentUris . withAppendedId ( uri , cursor . getLong ( cursor . getColumnIndexOrThrow ( _ID ) ) ) ; }
Append the cursor's {@link BaseColumns#_ID _ID} value to the URI.

@throws IllegalArgumentException if the cursor does not have an _id column
Append the cursor s { @link BaseColumns#_ID _ID } value to the URI .