Skip to content

Instantly share code, notes, and snippets.

@magdamiu
Created April 6, 2019 12:12
Show Gist options
  • Save magdamiu/49d3e8c84a3291eb8754f812c15f075c to your computer and use it in GitHub Desktop.
Save magdamiu/49d3e8c84a3291eb8754f812c15f075c to your computer and use it in GitHub Desktop.
Set RecyclerView horizontal
mRecyclerView.setLayoutManager(new LinearLayoutManager(getApplicationContext(), LinearLayoutManager.HORIZONTAL, false));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment