Code example for CursorWindow

        public CursorWindow getWindow() {
//          return ((CrossProcessCursor)mCursor).getWindow(); 
            CursorWindow window = new CursorWindow(false);
            return window;
        public boolean onMove(int oldPosition, int newPosition) {
            return ((CrossProcessCursor)mDatabaseCursor).onMove(oldPosition, newPosition);
         * These "virtual columns" are columns which don't exist in the underlying 
         * database cursor but are exported by this cursor.  For example, we compute 
         * a "word" by taking the substring of the full row text in the words table 
         * using the provided offsets. 
        private String [] mVirtualColumns = new String [] {
Experience pair programming with AI  Get Codota for Java