Code example for MergeCursor

0
      ArrayList<ArrayList> wrap = new ArrayList<ArrayList>();
      wrap.add(result);
 
      ArrayListCursor translated = new ArrayListCursor(PROJECTION_PHONE, wrap);
 
      return new MergeCursor(new Cursor[] { translated, phoneCursor });
    } else { 
      return phoneCursor;
    } 
  } 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE