Search in sources :

Example 1 with BriteContentResolver

use of com.squareup.sqlbrite.BriteContentResolver in project Shuttle by timusus.

the class SqlBriteUtils method wrapContentProvider.

private static BriteContentResolver wrapContentProvider(Context context) {
    final SqlBrite sqlBrite = SqlBrite.create();
    BriteContentResolver briteContentResolver = sqlBrite.wrapContentProvider(context.getContentResolver(), Schedulers.io());
    //        briteContentResolver.setLoggingEnabled(BuildConfig.DEBUG);
    return briteContentResolver;
}
Also used : BriteContentResolver(com.squareup.sqlbrite.BriteContentResolver) SqlBrite(com.squareup.sqlbrite.SqlBrite)

Aggregations

BriteContentResolver (com.squareup.sqlbrite.BriteContentResolver)1 SqlBrite (com.squareup.sqlbrite.SqlBrite)1