Deprecate OnActionListener in UndoHelper
See original GitHub issueDespite the interface was introduced for the new UndoHelper
, it is easy to perform same actions (preAction, postAction) by just using normal flow:
- PreAction code can be simply moved before the undo instantiation.
- As well as PostAction code can be performed after the undo instantiation.
Execution flow is preserved. So, no need of this callback interface.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Remove an ActionListener from JButton - java - Stack Overflow
I want to remove the action listener from a JButton . But I have an ActionListener like this: btn.addActionListener(new ActionListener() { ...
Read more >ActionListener (Java Platform SE 8 ) - Oracle Help Center
The listener interface for receiving action events. The class that is interested in processing an action event implements this interface, and the object ......
Read more >javax.swing.JButton.removeActionListener java code examples
Java Swing: How to remove an anonymous ActionListener from a component. for( JButton currentButton: button ) { for( ActionListener al : currentButton.
Read more >ActionSource (Java(TM) EE 8 Specification APIs)
Add a new ActionListener to the set of listeners interested in being notified when ActionEvent s occur. MethodBinding · getAction(). Deprecated.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @rmunk, the issue comes from the action swipe that once done, I cannot restore the view to the original state, trust me i tried everything, but the RecyclerView has an internal X value that I cannot change even if, I update the item or I animate the view back you will see a glitch and still the view at wrong coordinates, so the only thing is to remove it and to press the undo to insert it again.
This week I will work again on this component to move it to the UI package, to fix the multiple swipe and maybe to rename it or change the behavior.
@davideas it looks good now. Btw. thanks for this great library!