Created
August 10, 2016 18:44
-
-
Save mplacona/889b617a7bf4f213ad2de0a1f6abf1e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void loadNotes() { | |
| RealmResults<Note> notes = mRealm.where(Note.class).findAllSorted("date", Sort.ASCENDING); | |
| NoteRecyclerViewAdapter noteAdapter = new NoteRecyclerViewAdapter(getBaseContext(), notes); | |
| mNotes.setAdapter(noteAdapter); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment