Skip to content Skip to sidebar Skip to footer

Swapcursor(cursor) Is Undefined For The Type Simplecursoradapter

I am receiving a 'swapCursor(Cursor) is undefined' error when creating a CursorLoader. I have imported the android.support.v4 (app.LoaderManager, app.LoaderManager.Loader, Content

Solution 1:

issue was resolved by importing v4.widget.simplecursoradapter.

import android.support.v4.widget.SimpleCursorAdapter;

Post a Comment for "Swapcursor(cursor) Is Undefined For The Type Simplecursoradapter"