Download Latest Version 4.2.4.zip (1.2 MB)
Email in envelope

Get an email when there's a new version of DBFLOW

Home / 4.2.0
Name Modified Size InfoDownloads / Week
Parent folder
4.2.0.tar.gz 2017-12-17 907.6 kB
4.2.0.zip 2017-12-17 1.2 MB
README.md 2017-12-17 870 Bytes
Totals: 3 Items   2.1 MB 0

Support for Android O Content Providers. Simply add this line to your AndroidManifest.xml:

<provider
            android:name="com.raizlabs.android.dbflow.runtime.StubContentProvider"
            android:authorities="com.dbflow.authority"/>

Which will allow normal content observing to continue. It is highly recommended to supply your own authority: use your own package name. so for com.grosner.example app I would add:

<provider
            android:name="com.raizlabs.android.dbflow.runtime.StubContentProvider"
            android:authorities="com.grosner.example"/>

FlowManager.init(FlowConfig.Builder(context)
            .addDatabaseConfig(DatabaseConfig.Builder(MyDatabase.class)
                .modelNotifier(new ContentResolverNotifier("com.grosner.example"))
                .build()).build());
Source: README.md, updated 2017-12-17