Android.Database.ICrossProcessCursor.OnMove Method
This function is called every time the cursor is successfully scrolled to a new position, giving the subclass a chance to update any state it may have.

Syntax

[Android.Runtime.Register("onMove", "(II)Z", "GetOnMove_IIHandler:Android.Database.ICrossProcessCursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool OnMove (int oldPosition, int newPosition)

Parameters

oldPosition
The position that we're moving from.
newPosition
The position that we're moving to.

Returns

Documentation for this section has not yet been entered.

Remarks

This function is called every time the cursor is successfully scrolled to a new position, giving the subclass a chance to update any state it may have. If it returns false the move function will also do so and the cursor will scroll to the beforeFirst position.

This function should be called by methods such as ICursor.MoveToPosition(int), so it will typically not be called from outside of the cursor class itself.

[Android Documentation]

Requirements

Namespace: Android.Database
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1