Last active
December 28, 2020 20:05
-
-
Save magdamiu/3daa5d8d8636923e0f3677b3d30ba824 to your computer and use it in GitHub Desktop.
Define the datasource as a hardcoded list of emails
This file contains 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 inbox() { | |
emails = new ArrayList<>(); | |
Email email = null; | |
for (int i = 0; i < 25; i++) { | |
email = new Email(0, "Magda " + i, "Hello Android " + i, "This is an intro about Android"); | |
emails.add(email); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment