-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
| favoriteListener(item.id, !it.isSelected) |
I understand that the purpose of this project is to show how the payload works, however, you have created some kind of architecture and I believe that this is not the responsibility of the adapter to change isSelected flag. Wouldn't it be better to pass the entire element to the lambda?
I highlighted this for those who might also find your example useful and use the whole example in their project.
Metadata
Metadata
Assignees
Labels
No labels