fhucho
fhucho

Reputation: 34560

Android Compatibility package and getLoaderManager()

Android Compatibility package is said to support LoaderManager. How can I get an instance of LoaderManager? The getLoaderManager() method is missing in FragmentActivity, it's only in Fragment class. But I want to use only Loaders, not Fragments in my app.

Upvotes: 11

Views: 4594

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007399

Based on my reading of the source, call getSupportLoaderManager() on your ACL FragmentActivity.

Upvotes: 20

Related Questions