Frank Sposaro
Frank Sposaro

Reputation: 8531

Using CursorLoaders in a Searchable Activity

I'm trying to create a Searchable Activity to be used with the Action Bar. I have a CursorAdapter supplying the data from a ContentProvider.

What I have trouble understanding is why does the API examples, ie, searchableDictonary, performs a managedQuery instead of doing something async with the CursorLoaders.

Perhaps I'm missing something?

Upvotes: 0

Views: 96

Answers (1)

Nikolay Elenkov
Nikolay Elenkov

Reputation: 52956

Because this example is fairly old and CursorLoaders didn't exist at the time. If loaders work for you, do use them. Are you having any specific problem?

Upvotes: 1

Related Questions