to top
Android APIs
public class

MatrixCursor.RowBuilder

extends Object
java.lang.Object
   ↳ android.database.MatrixCursor.RowBuilder

Class Overview

Builds a row, starting from the left-most column and adding one column value at a time. Follows the same ordering as the column names specified at cursor construction time.

Summary

Public Methods
MatrixCursor.RowBuilder add(Object columnValue)
Sets the next column value in this row.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public MatrixCursor.RowBuilder add (Object columnValue)

Added in API level 1

Sets the next column value in this row.

Returns
  • this builder to support chaining
Throws
CursorIndexOutOfBoundsException if you try to add too many values