Skip to content

Instantly share code, notes, and snippets.

@jezinka
Created Aug 11, 2018
Embed
What would you like to do?
adapter = new SensorsAdapter(this);
RecyclerView recyclerView = findViewById(R.id.recyclerview);
recyclerView.setAdapter(adapter);
recyclerView.setLayoutManager(new GridLayoutManager(this, 2));
recyclerView.setHasFixedSize(true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment