Code example for CursorAdapter

Methods: changeCursor

0
    } 
 
    /** {@inheritDoc} */ 
    public void onQueryComplete(int token, Object cookie, Cursor cursor) {
        startManagingCursor(cursor);
        mAdapter.changeCursor(cursor);
    } 
 
    /** Handle "home" title-bar action. */ 
    public void onHomeClick(View v) {
        UIUtils.goHome(this);
    } 
 
    /** Handle "search" title-bar action. */ 
    public void onSearchClick(View v) {
        UIUtils.goSearch(this);
    } 
 
    /** {@inheritDoc} */ 
    @Override 
    protected void onListItemClick(ListView l, View v, int position, long id) {