Skip to content

Instantly share code, notes, and snippets.

@magdamiu
Created December 28, 2020 20:13
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save magdamiu/a065f665d38fd9fdc00ff8072b7ca9ad to your computer and use it in GitHub Desktop.
Define the LayoutManager, in our case we will use the linear one
private void setEmailsLayoutManager() {
recyclerViewEmails.setLayoutManager(new LinearLayoutManager(this));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment