public static int createList(final String name) {
        return withAccessLock(() -> {
            int id = -1;
            if (StringUtils.isBlank(name)) {
                return id;
            }

            init();

            database.beginTransaction();
            try {
                final ContentValues values = new ContentValues();
                values.put("title", name);
                values.put("updated", System.currentTimeMillis());
                values.put("marker", 0); // ToDo - delete column?
                values.put(FIELD_LISTS_PREVENTASKFORDELETION, 0);
                values.put("emoji", 0);

                id = (int) database.insert(dbTableLists, null, values);
                database.setTransactionSuccessful();
            } finally {
                database.endTransaction();
            }

            return id >= 0 ? id + customListIdOffset : -1;
        });
    }
Create a new list

@param name Name
@return new listId
main/src/main/java/cgeo/geocaching/storage/DataStore.java