code: public <T> List<T> listFromCursor(Cursor c, Class<T> klass) {
      List<T> result = Lists.newArrayList();
  
      if (c != null && c.moveToFirst()) {
        DaoAdapter<T> adapter = getAdapter(klass);
        do {
          result.add(adapter.fromCursor(c, adapter.createInstance()));
        } while (c.moveToNext());
      }
  
      return result;
    }
docs: Convenience method for converting the whole {@link Cursor} into
  {@link List} of objects of specified type.
  
  @param <T> the type of the provided object
  @param c a valid {@link Cursor}; the provided {@link Cursor} will not be
  closed
  @param klass The {@link Class} of the desired object
  @return the {@link List} of object of type T created from the entire
  {@link Cursor}