-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
Created ViewActionExecutor to reuse performAction() code #194
Conversation
@Sloy @rocboronat I've created the class Let me know what you think (and help me out with the name, I'm not sure what to call it, so far |
Haha today I was just doing the same refactor for the similar ugliness that we have in Assertions, but with a different approach. Let me finish it during the weekend and see how they fit together. |
:) Awesome. I just was trying to add the swipe interactions and realized that I would need again this functionality, so I extracted it. |
For now I would say just copy the code again for your functionality. We know we'll fix it soon enough. I'd say keep this PR open for now and we'll see later. |
Let's wait for @Sloy proposal but looks great to me since it concentrates the ugliness in just one class! Easier to beautify it later! 💄 |
@jamesbluecrow check out #198 |
I changed it a bit to make it similar to AssertAny, the current equivalent common function for assertions
I skipped the one with very custom implementations and don't fit with the common pattern
Hi! I took the liberty of reviving the PR. I updated your code @jamesbluecrow to match the decisions made in #198. I kept the name After confirming the name and adding a bit of javadoc, I think we can mark this code as ready 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Great work @Sloy 👌
No more news is good news. Let's merge it! Thanks for the contribution @jamesbluecrow and sorry for the delay 🎁 |
No description provided.