Android
android.database
public interface

android.database.CrossProcessCursor

android.database.CrossProcessCursor Cursor
Known Indirect Subclasses

Summary

Public Methods

          void  fillWindow(int pos, CursorWindow winow)
copies cursor data into the window start at pos
          CursorWindow  getWindow()
returns a pre-filled window, return NULL if no such window
          boolean  onMove(int oldPosition, int newPosition)
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.
Methods inherited from interface android.database.Cursor

Details

Public Methods

public void fillWindow(int pos, CursorWindow winow)

copies cursor data into the window start at pos

public CursorWindow getWindow()

returns a pre-filled window, return NULL if no such window

public boolean onMove(int oldPosition, int newPosition)

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.

Parameters

oldPosition the position that we're moving from
newPosition the position that we're moving to

Returns

  • true if the move is successful, false otherwise
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56