code: public static <T> MatrixCursor getCursor(final List<T> list) {
          if (list == null || list.isEmpty())
              return new MatrixCursor(new String[] { "_id" });
  
          final String[] titles = getFieldTitlesFromObject(list.get(0));
  
          final MatrixCursor cursor = new MatrixCursor(titles);
  
          try {
              addFieldValuesFromList(cursor, list);
          } catch (final IllegalAccessException e) {
              Logger.ex(e);
          }
  
          return cursor;
      }
docs: =============================================