Skip to content

Instantly share code, notes, and snippets.

@magdamiu

magdamiu/MainActivity.java

Last active Dec 28, 2020
Embed
What would you like to do?
Define the datasource as a hardcoded list of emails
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