Skip to content

Instantly share code, notes, and snippets.

@aymenjegham
Last active July 17, 2019 02:09
Show Gist options
  • Save aymenjegham/00c2532470c262900d4f51244cb3461b to your computer and use it in GitHub Desktop.
Save aymenjegham/00c2532470c262900d4f51244cb3461b to your computer and use it in GitHub Desktop.
NoteAdapter adapter = new NoteAdapter();
RecyclerView recyclerView = findViewById(R.id.recycler_view);
recyclerView.setLayoutManager(new LinearLayoutManager(this));
recyclerView.setAdapter(adapter);
adapter.setContacts(list,cxt,this);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment