leanback/src/main/java/androidx/leanback/widget/CursorObjectAdapter.java
public void changeCursor(Cursor cursor) {
        if (cursor == mCursor) {
            return;
        }
        if (mCursor != null) {
            mCursor.close();
        }
        mCursor = cursor;
        mItemCache.trimToSize(0);
        onCursorChanged();
    }
/**
     * Changes the underlying cursor to a new cursor. If there is
     * an existing cursor it will be closed if it is different than the new
     * cursor.
     *
     * @param cursor The new cursor to be used.
     */
Changes the underlying cursor to a new cursor. If there is
an existing cursor it will be closed if it is different than the new
cursor.

@param cursor The new cursor to be used.
Changes the underlying cursor to a new cursor . If there is an existing cursor it will be closed if it is different than the new cursor . @param cursor The new cursor to be used .
public void changeCursor(Cursor cursor) {
        if (cursor == mCursor) {
            return;
        }
        if (mCursor != null) {
            mCursor.close();
        }
        mCursor = cursor;
        mItemCache.trimToSize(0);
        onCursorChanged();
    }
public void changeCursor ( Cursor cursor ) { if ( cursor == mCursor ) { return ; } if ( mCursor != null ) { mCursor . close ( ) ; } mCursor = cursor ; mItemCache . trimToSize ( 0 ) ; onCursorChanged ( ) ; }
Changes the underlying cursor to a new cursor.
Changes the underlying cursor to a new cursor .