October 2018
Intermediate to advanced
464 pages
15h 17m
English
As mentioned in the Introduction to this recipe, multiple item selection is one of the most missed features of RecyclerView and the one that receives the most questions. As you can see from this example, even a basic implementation requires many steps but the end result can be the exact implementation required for your task. You won't be limited to an existing feature set since you'll be creating it yourself.
This recipe combines several concepts learned from previous recipes, including the following:
To tie everything together, we created a custom interface so the adapter could notify when an item was selected. MainActivity receives the ...