private void renderListView() { // TODO Auto-generated method stub mDiaryCursor = mDbHelper.getAllNotes(); startManagingCursor(mDiaryCursor); String[] from = new String[] {DiaryDbAdapter.KEY_TITLE, DiaryDbAdapter.KEY_CREATED}; int[] to = new int[] {R.id.text, R.id.created}; SimpleCursorAdapter notes = new SimpleCursorAdapter(this, R.layout.row, mDiaryCursor, from, to); setListAdapter(notes); }