Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add untyped TableRowAction #54

Open
Wisors opened this issue Oct 13, 2016 · 0 comments
Open

Add untyped TableRowAction #54

Wisors opened this issue Oct 13, 2016 · 0 comments

Comments

@Wisors
Copy link
Contributor

Wisors commented Oct 13, 2016

I want to have ability to add untyped actions to any Row object.
Problem: I can't add the same action to differently typed TableRow objects because it required type matching. Even more, it not possible to split code and move code that built views (creating rows with particular cell) away from code that react on user input (some general actions).
Intent: Some actions aren't required to know what kind of object is passed to cell or what kind of cell was targeted. Allow to add general action to objects that covered by protocol Row.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants