Language

CrossProcessCursorWrapper.OnMove(Int32, Int32) Method

Definition

Handles a cursor move notification.

[Android.Runtime.Register("onMove", "(II)Z", "GetOnMove_IIHandler")]
public virtual bool OnMove(int oldPosition, int newPosition);
[<Android.Runtime.Register("onMove", "(II)Z", "GetOnMove_IIHandler")>]
abstract member OnMove : int * int -> bool
override this.OnMove : int * int -> bool

Parameters

oldPosition
Int32

The position that we're moving from.

newPosition
Int32

The position that we're moving to.

Returns

The wrapped cursor's callback result, or true if the wrapped cursor does not implement ICrossProcessCursor.

Implements

Attributes

Remarks

Delegates the notification to the wrapped cursor if it implements ICrossProcessCursor. Otherwise, this method returns true without invoking a callback. Moving the wrapper delegates directly to the wrapped cursor and does not invoke this wrapper's callback.

Android reference for android.database.CrossProcessCursorWrapper.onMove.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to