Do I need to define an `InputHandler` class even w...
# ballast
r
Do I need to define an
InputHandler
class even when there are no inputs in my contract?
c
You will need to provide one to the Configuration, but you don’t necessarily need to create your own class for it. There is an extension function
inputHandler { }
for this purpose. The same is true for the EventHandlers. It’s required to provide one to `BasicViewModel`’s constructor, and you should attach one dynamically for other classes, but there’s an
eventHandler { }
extension function for this too.