Code example for CursorAdapter

Methods: swapCursor

0
                    }, "time"); 
        } 
 
        @Override 
        public void onLoadFinished(Loader loader, Cursor data) {
            mAdapter.swapCursor(data);
        } 
 
        @Override 
        public void onLoaderReset(Loader loader) {
            mAdapter.swapCursor(null);
        } 
    } 
}