Skip to content

Instantly share code, notes, and snippets.

@magdamiu
Created December 28, 2020 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magdamiu/58f89f13159bb482fa749e92b0fc62ef to your computer and use it in GitHub Desktop.
Save magdamiu/58f89f13159bb482fa749e92b0fc62ef to your computer and use it in GitHub Desktop.
Combine all the code
private void setEmailsAdapter() {
recyclerViewEmails.setAdapter(new EmailAdapter(this, emails));
}
private void displayEmailsList() {
// data source - checked
inbox();
// layout manager - checked
setEmailsLayoutManager();
// adapter - checked
setEmailsAdapter();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment