Add a kernel.view listener shortcut method

if you don't change tge signature of the callback, you can simply register it directly