code: public Cursor getItem(int position) {
          if (mDataValid && mCursor != null) {
              mCursor.moveToPosition(position);
              return mCursor;
          } else {
              return null;
          }
      }
docs: Returns a cursor pointed to the given position.
  
  @param position position to set on the cursor.
  @return a cursor set to the position.