List view: getting item through swipe buttons


When adding buttons to list view items (see: | List items) the object of the button clicked is passed to the method.
How is it possible to identify the item to work with by using this button object?
Is it possible to traverse to the parent item?

This comment relates to the issue I filed on Github:


I’m working on that subject right now. When I get farther along I’ll create a new branch so I can get your feedback on it. Thanks.