Code example for MatrixCursor

Methods: newRow

        /** Adds a row to the given cursor */ 
        private void addRow(MatrixCursor cursor, int rowType, long id, String name,
                String emailAddress, int messageCount, int listPosition, long accountId) {
    /** Cursor with some extra meta data. */ 
    static class CursorWithExtras extends ClosingMatrixCursor { 
        /** Number of account elements, including the combined account row. */ 
Connect your IDE to all the code out there  Get Codota for Java