@@ -0,0 +1,842 @@
+package de.philipphager.disclosure.database.util;%0A%0Aimport android.database.Cursor;%0Aimport com.squareup.sqlbrite.SqlBrite;%0Aimport com.squareup.sqldelight.RowMapper;%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0Aimport rx.functions.Func1;%0A%0Apublic class CursorListMapper%3CT%3E implements Func1%3CSqlBrite.Query, List%3CT%3E%3E %7B%0A  private final RowMapper%3CT%3E rowMapper;%0A%0A  public CursorListMapper(RowMapper%3CT%3E rowMapper) %7B%0A    this.rowMapper = rowMapper;%0A  %7D%0A%0A  @Override public List%3CT%3E call(SqlBrite.Query query) %7B%0A    Cursor cursor = query.run();%0A%0A    boolean cursorPresent = cursor != null;%0A    int resultSize = cursorPresent ? cursor.getColumnCount() : 0;%0A    List%3CT%3E items = new ArrayList%3C%3E(resultSize);%0A%0A    if (cursorPresent) %7B%0A      while (cursor.moveToNext()) %7B%0A        items.add(rowMapper.map(cursor));%0A      %7D%0A    %7D%0A%0A    return items;%0A  %7D%0A%7D%0A

Add a util class to convert cursor data to lists.