Closed tenSunFree closed 7 months ago
Hey @tenSunFree thank you for pointing that. it could be seen as an unnecessary complication but using a companion object for instantiation in the context given is not necessarily redundant; it's a design choice. It allows for clear encapsulation and easy access to the MultipleClicksHandler implementation without needing to expose the concrete class.
I hope this clears your thoughts!
companion object in MultipleClicksHandler should be redundant.
or did you originally plan to add a default click method?