Android CrossProcessCursor - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Android CrossProcessCursor class.

This code example shows how to use the following methods:moveToNext
   public boolean moveToLast() { 
      return internalCursor.moveToLast();
   } 
 
   public boolean moveToNext() { 
      return internalCursor.moveToNext();
   } 
 
   public boolean moveToPosition(int position) {
      return internalCursor.moveToPosition(position);
   } 
 
   public boolean moveToPrevious() { 
      return internalCursor.moveToPrevious();
   } 
 
   public void registerContentObserver(ContentObserver observer) {
      internalCursor.registerContentObserver(observer);
   } 
 
4
CodeRank
This code example shows how to use the following methods:onMove
    } 
 
    @Override 
    public boolean onMove(int oldPosition, int newPosition) {
        if (mCrossProcessCursor != null) {
            return mCrossProcessCursor.onMove(oldPosition, newPosition);
        } else { 
            throw new UnsupportedOperationException("Wrapped cursor is not a cross-process cursor");
        } 
    } 
 
} 
5
CodeRank
This code example shows how to use the following methods:getWindow
	public boolean getWantsAllOnMoveCalls() { 
		return internalCursor.getWantsAllOnMoveCalls();
	} 
 
	public CursorWindow getWindow() {
		return internalCursor.getWindow();
	} 
 
	public boolean isAfterLast() { 
		return internalCursor.isAfterLast();
	} 
 
	public boolean isBeforeFirst() { 
		return internalCursor.isBeforeFirst();
	} 
 
	public boolean isClosed() { 
		return internalCursor.isClosed();
	} 
 
4
CodeRank
This code example shows how to use the following methods:fillWindow
		public boolean commitUpdates() { 
			throw new SecurityException("Installed application provider manager cursors are read-only");
		} 
 
		public void fillWindow(int pos, CursorWindow window) {
			mCursor.fillWindow(pos, window);
		} 
 
		public CursorWindow getWindow() {
			return mCursor.getWindow();
		} 
 
		public boolean onMove(int oldPosition, int newPosition) {
			return mCursor.onMove(oldPosition, newPosition);
		} 
 
		private CrossProcessCursor mCursor;
	} 
} 
4
CodeRank

Related Android CrossProcessCursor Questions & Answers:

See Code Examples for Android CrossProcessCursor Methods: