Skip to content

Instantly share code, notes, and snippets.

@lucasr
Created September 1, 2014 13:20

Revisions

  1. lucasr created this gist Sep 1, 2014.
    3 changes: 3 additions & 0 deletions sample.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    ItemSelectionSupport itemSelection = ItemSelectionSupport.addTo(recyclerView);
    itemSelection.setChoiceMode(ChoiceMode.MULTIPLE);
    itemSelection.setItemChecked(2, true);